packages: ConsoleKit/ConsoleKit.spec - use newer systemd macros - rel. 6

wiget wiget at pld-linux.org
Sun Dec 4 18:41:53 CET 2011


Author: wiget                        Date: Sun Dec  4 17:41:53 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use newer systemd macros
- rel. 6

---- Files affected:
packages/ConsoleKit:
   ConsoleKit.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: packages/ConsoleKit/ConsoleKit.spec
diff -u packages/ConsoleKit/ConsoleKit.spec:1.44 packages/ConsoleKit/ConsoleKit.spec:1.45
--- packages/ConsoleKit/ConsoleKit.spec:1.44	Sun Dec  4 03:14:46 2011
+++ packages/ConsoleKit/ConsoleKit.spec	Sun Dec  4 18:41:48 2011
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	ConsoleKit dla PolicyKit
 Name:		ConsoleKit
 Version:	0.4.5
-Release:	5
+Release:	6
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://www.freedesktop.org/software/ConsoleKit/dist/%{name}-%{version}.tar.bz2
@@ -18,7 +18,7 @@
 BuildRequires:	pam-devel >= 0.80
 BuildRequires:	pkgconfig
 BuildRequires:	polkit-devel >= 0.92
-BuildRequires:	rpmbuild(macros) >= 1.623
+BuildRequires:	rpmbuild(macros) >= 1.626
 BuildRequires:	xmlto
 BuildRequires:	xorg-lib-libX11-devel >= 1.0.0
 BuildRequires:	zlib-devel
@@ -112,6 +112,7 @@
 Summary:	systemd units for ConsoleKit
 Group:		Daemons
 Requires:	%{name} = %{version}-%{release}
+Requires:	systemd-units >= 37-0.10
 
 %description systemd
 systemd units for ConsoleKit.
@@ -156,14 +157,14 @@
 %postun	libs -p /sbin/ldconfig
 
 %post systemd
-%systemd_post
-
-%postun systemd
-%systemd_postun console-kit-daemon.service
+%systemd_post console-kit-daemon.service
 
 %preun systemd
 %systemd_preun console-kit-daemon.service
 
+%postun systemd
+%systemd_reload
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
@@ -242,6 +243,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2011/12/04 17:41:48  wiget
+- use newer systemd macros
+- rel. 6
+
 Revision 1.44  2011/12/04 02:14:46  cactus
 - rel 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ConsoleKit/ConsoleKit.spec?r1=1.44&r2=1.45&f=u



More information about the pld-cvs-commit mailing list