rpms/cronie/F-9 cronie.spec,1.6,1.7

Marcela Mašláňová (mmaslano) fedora-extras-commits at redhat.com
Wed Jun 4 09:03:21 UTC 2008


Author: mmaslano

Update of /cvs/pkgs/rpms/cronie/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6141

Modified Files:
	cronie.spec 
Log Message:
Update spec.



Index: cronie.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cronie/F-9/cronie.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- cronie.spec	20 May 2008 11:56:36 -0000	1.6
+++ cronie.spec	4 Jun 2008 09:02:40 -0000	1.7
@@ -6,7 +6,7 @@
 Summary: Cron daemon for executing programs at set times
 Name: cronie
 Version: 1.0
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: MIT and BSD
 Group: System Environment/Base
 URL: https://fedorahosted.org/cronie
@@ -82,7 +82,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-    /sbin/chkconfig --add crond
+/sbin/chkconfig --add crond
 
 %preun
 if [ "$1" = "0" ]; then
@@ -98,15 +98,12 @@
 #copy the lock, remove old daemon from chkconfig
 %triggerun -- vixie-cron
 cp -a /var/lock/subsys/crond /var/lock/subsys/cronie > /dev/null 2>&1 ||:
-/sbin/chkconfig --del crond
 
 #if the lock exist, then we restart daemon (it was running in the past).
-#add new daemon into chkconfig everytime, when we upgrade cronie
+#add new daemon into chkconfig everytime, when we upgrade to cronie from vixie-cron
 %triggerpostun -- vixie-cron
-/sbin/chkconfig --add crond;
-# it's useless because afer upgrade from cd are daemons dead
-#[ -f /var/lock/subsys/cronie ] && ( rm -f /var/lock/subsys/cronie ;
-service crond restart ) > /dev/null 2>&1 ||:
+/sbin/chkconfig --add crond
+[ -f /var/lock/subsys/cronie ] && ( rm -f /var/lock/subsys/cronie ; service crond restart ) > /dev/null 2>&1 ||:
 
 %files
 %defattr(-,root,root,-)
@@ -127,6 +124,9 @@
 %config(noreplace) %{_sysconfdir}/cron.deny
 
 %changelog
+* Wed Jun  4 2008 Marcela Maslanova <mmaslano at redhat.com> - 1.0-7
+- 49864 upgrade/update problem. Syntax error in spec.
+
 * Tue May 20 2008 Marcela Maslanova <mmaslano at redhat.com> - 1.0-6
 - 446360 check for lock didn't call chkconfig
 




More information about the fedora-extras-commits mailing list