SPECS: PolicyKit.spec - drop initscript (DBUS activation) - FIXME:...

patrys patrys at pld-linux.org
Thu Jun 21 14:52:51 CEST 2007


Author: patrys                       Date: Thu Jun 21 12:52:51 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- drop initscript (DBUS activation)
- FIXME: someone please write a trigger to remove the service on upgrade

---- Files affected:
SPECS:
   PolicyKit.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/PolicyKit.spec
diff -u SPECS/PolicyKit.spec:1.16 SPECS/PolicyKit.spec:1.17
--- SPECS/PolicyKit.spec:1.16	Thu Jun 21 14:46:22 2007
+++ SPECS/PolicyKit.spec	Thu Jun 21 14:52:46 2007
@@ -10,7 +10,6 @@
 Group:		Libraries
 Source0:	http://people.freedesktop.org/~david/dist/%{name}-%{version}.tar.gz
 # Source0-md5:	8d61312abb40227a8487433872063ccf
-Source1:	%{name}.init
 URL:		http://people.freedesktop.org/~david/polkit-spec.html
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
@@ -109,24 +108,11 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{_var}/run/polkit-console,/etc/rc.d/init.d}
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/PolicyKit
-
 rm -f $RPM_BUILD_ROOT/%{_libdir}/PolicyKit/modules/*.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/chkconfig --add PolicyKit
-%service PolicyKit restart
-
-%preun
-if [ "$1" = "0" ]; then
-	%service -q PolicyKit stop
-	/sbin/chkconfig --del PolicyKit
-fi
-
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
@@ -136,8 +122,6 @@
 %attr(755,root,root) %{_bindir}/polkit-*
 %{_sysconfdir}/pam.d/polkit
 %{_sysconfdir}/PolicyKit
-%dir %{_var}/run/polkit-console
-%attr(754,root,root) /etc/rc.d/init.d/*
 %{_mandir}/man1/*
 %{_mandir}/man8/*
 %dir %{_libdir}/PolicyKit
@@ -177,6 +161,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2007/06/21 12:52:46  patrys
+- drop initscript (DBUS activation)
+- FIXME: someone please write a trigger to remove the service on upgrade
+
 Revision 1.16  2007/06/21 12:46:22  patrys
 - 0.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/PolicyKit.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list