[packages/polkit] - unit file has no [Install] section, and is not meant to be enabled using systemctl - rel 2

baggins baggins at pld-linux.org
Thu Mar 14 15:55:20 CET 2013


commit e0b45bcb4cff63e288c573dba91c757f149b1b34
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Mar 14 15:54:37 2013 +0100

    - unit file has no [Install] section, and is not meant to be enabled using systemctl
    - rel 2

 polkit.spec | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/polkit.spec b/polkit.spec
index b24b2b9..f01cbaf 100644
--- a/polkit.spec
+++ b/polkit.spec
@@ -7,7 +7,7 @@ Summary:	A framework for defining policy for system-wide components
 Summary(pl.UTF-8):	Szkielet do definiowania polityki dla komponentów systemowych
 Name:		polkit
 Version:	0.110
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
@@ -150,14 +150,6 @@ rm -rf $RPM_BUILD_ROOT
 %groupadd -g 283 polkitd
 %useradd -u 283 -s /bin/false -c "polkitd pseudo user" -g polkitd polkitd
 
-%if %{with systemd}
-%post
-%systemd_post polkit.service
-
-%preun
-%systemd_preun polkit.service
-%endif
-
 %postun
 if [ "$1" = "0" ]; then
 	%userremove polkitd
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/polkit.git/commitdiff/e0b45bcb4cff63e288c573dba91c757f149b1b34



More information about the pld-cvs-commit mailing list