SPECS: vixie-cron.spec - drop old triggers (no point having them n...

glen glen at pld-linux.org
Wed Feb 6 21:01:11 CET 2008


Author: glen                         Date: Wed Feb  6 20:01:11 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- drop old triggers (no point having them now and i can't really test do they work correctly)

---- Files affected:
SPECS:
   vixie-cron.spec (1.133 -> 1.134) 

---- Diffs:

================================================================
Index: SPECS/vixie-cron.spec
diff -u SPECS/vixie-cron.spec:1.133 SPECS/vixie-cron.spec:1.134
--- SPECS/vixie-cron.spec:1.133	Wed Feb  6 21:00:05 2008
+++ SPECS/vixie-cron.spec	Wed Feb  6 21:01:06 2008
@@ -277,46 +277,10 @@
 	%groupremove crontab
 fi
 
-%triggerpostun -- vixie-cron < 3.0.1-86
-for user in $(/bin/ls /var/spool/cron 2>/dev/null); do
-	chown $user /var/spool/cron/$user 2>/dev/null || :
-done
-/bin/chmod 660 /var/log/cron
-/bin/chgrp crontab /var/log/cron
-/bin/chmod 640 /etc/cron/cron.*
-/bin/chgrp crontab /etc/cron/cron.*
-
-if [ -f /etc/cron.d/cron.allow.rpmsave ]; then
-	mv -f /etc/cron.d/cron.allow.rpmsave /etc/cron/cron.allow
-fi
-if [ -f /etc/cron.d/cron.allow ]; then
-	mv -f /etc/cron.d/cron.allow /etc/cron/cron.allow
-fi
-if [ -f /etc/cron.d/cron.deny.rpmsave ]; then
-	mv -f /etc/cron.d/cron.deny.rpmsave /etc/cron/cron.deny
-fi
-if [ -f /etc/cron.d/cron.deny ]; then
-	mv -f /etc/cron.d/cron.deny /etc/cron/cron.deny
-fi
-if [ -f /etc/cron.allow ]; then
-	mv -f /etc/cron.allow /etc/cron/cron.allow
-fi
-if [ -f /etc/cron.deny ]; then
-	mv -f /etc/cron.deny /etc/cron/cron.deny
-fi
-
 %triggerpostun -- hc-cron
 /sbin/chkconfig --del crond
 /sbin/chkconfig --add crond
 
-for user in $(/bin/ls /var/spool/cron 2>/dev/null); do
-	chown $user /var/spool/cron/$user 2>/dev/null || :
-done
-/bin/chmod 660 /var/log/cron
-/bin/chgrp crontab /var/log/cron
-/bin/chmod 640 /etc/cron/cron.*
-/bin/chgrp crontab /etc/cron/cron.*
-
 %files
 %defattr(644,root,root,755)
 %doc CHANGES CONVERSION FEATURES MAIL README THANKS
@@ -348,6 +312,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.134  2008-02-06 20:01:06  glen
+- drop old triggers (no point having them now and i can't really test do they work correctly)
+
 Revision 1.133  2008-02-06 20:00:05  glen
 - merge triggers
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/vixie-cron.spec?r1=1.133&r2=1.134&f=u



More information about the pld-cvs-commit mailing list