[packages/colord] Revert "- add systemd user service startup, rel 3"

baggins baggins at pld-linux.org
Sat Jan 8 22:07:45 CET 2022


commit 2dce988a6f6ee04592a69bab2a7ab6056fe51dd0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jan 8 22:07:23 2022 +0100

    Revert "- add systemd user service startup, rel 3"
    
    This reverts commit 2c69892c74b9f36b138958bd1927cc2979728c76.
    
    dbus unit, no need for manual registartion

 colord.spec | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/colord.spec b/colord.spec
index 72b6caf..2cddf82 100644
--- a/colord.spec
+++ b/colord.spec
@@ -8,7 +8,7 @@ Summary:	Color daemon - system daemon for managing color devices
 Summary(pl.UTF-8):	Demon colord - usługa systemowa do zarządzania urządzeniami obsługującymi kolory
 Name:		colord
 Version:	1.4.5
-Release:	3
+Release:	2
 License:	GPL v2+ and LGPL v2+
 Group:		Daemons
 Source0:	https://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
@@ -32,7 +32,7 @@ BuildRequires:	ninja
 BuildRequires:	pkgconfig
 BuildRequires:	polkit-devel >= 0.103
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 2.011
+BuildRequires:	rpmbuild(macros) >= 1.736
 %{?with_sane:BuildRequires:	sane-backends-devel}
 BuildRequires:	sqlite3-devel >= 3
 BuildRequires:	systemd-devel >= 44
@@ -41,10 +41,10 @@ BuildRequires:	udev-devel
 BuildRequires:	udev-glib-devel
 %{?with_vala:BuildRequires:	vala}
 BuildRequires:	xz
-Requires(post,preun,postun):	systemd-units >= 250.1
+Requires(post,preun,postun):	systemd-units >= 44
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	polkit >= 0.103
-Requires:	systemd-units >= 250.1
+Requires:	systemd-units >= 44
 # /usr/bin/spotread called by argyll sensor driver
 Suggests:	argyllcms
 Suggests:	shared-color-profiles
@@ -165,10 +165,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %glib_compile_schemas
-%systemd_user_post colord-session.service
-
-%preun
-%systemd_user_preun colord-session.service
 
 %postun
 %systemd_reload
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/colord.git/commitdiff/2dce988a6f6ee04592a69bab2a7ab6056fe51dd0



More information about the pld-cvs-commit mailing list