SPECS: policyd.spec - unified init.d perms - added Provides/Requir...

qboosh qboosh at pld-linux.org
Wed Nov 16 11:10:06 CET 2005


Author: qboosh                       Date: Wed Nov 16 10:10:06 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unified init.d perms
- added Provides/Requires() for pre/post/preun/postun

---- Files affected:
SPECS:
   policyd.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/policyd.spec
diff -u SPECS/policyd.spec:1.5 SPECS/policyd.spec:1.6
--- SPECS/policyd.spec:1.5	Wed Nov 16 10:49:02 2005
+++ SPECS/policyd.spec	Wed Nov 16 11:10:00 2005
@@ -26,8 +26,18 @@
 URL:		http://policyd.sourceforge.net/
 BuildRequires:	mysql-devel
 BuildRequires:	zlib-devel
+Requires(pre):	/bin/id
+Requires(pre):	/usr/bin/getgid
+Requires(pre):	/usr/sbin/groupadd
+Requires(pre):	/usr/sbin/useradd
+Requires(post,preun):	/sbin/chkconfig
+Requires(postun):	/usr/sbin/groupdel
+Requires(postun):	/usr/sbin/userdel
 Requires:	mysql-libs
+Requires:	rc-scripts
 Requires:	zlib
+Provides:	group(policyd)
+Provides:	user(policyd)
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -101,13 +111,17 @@
 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{_sysconfdir}/%{name}/%{name}.conf
 %config(noreplace) %verify(not md5 mtime size) %attr(755,root,root) /etc/cron.hourly/%{name}
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
-%attr(755,root,root) /etc/rc.d/init.d/%{name}
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
 
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/11/16 10:10:00  qboosh
+- unified init.d perms
+- added Provides/Requires() for pre/post/preun/postun
+
 Revision 1.5  2005/11/16 09:49:02  hns
 - up to 1.70, attr fix
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/policyd.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list