rpms/cronie/devel cronie.spec,1.24,1.25

Tomáš Mráz tmraz at fedoraproject.org
Fri Aug 14 13:54:42 UTC 2009


Author: tmraz

Update of /cvs/pkgs/rpms/cronie/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15022

Modified Files:
	cronie.spec 
Log Message:
* Fri Aug 14 2009 Tomas Mraz <tmraz at redhat.com> - 1.4.1-2
- create the anacron timestamps in correct post script



Index: cronie.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cronie/devel/cronie.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -r1.24 -r1.25
--- cronie.spec	14 Aug 2009 12:47:30 -0000	1.24
+++ cronie.spec	14 Aug 2009 13:54:42 -0000	1.25
@@ -6,7 +6,7 @@
 Summary: Cron daemon for executing programs at set times
 Name: cronie
 Version: 1.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT and BSD and GPLv2
 Group: System Environment/Base
 URL: https://fedorahosted.org/cronie
@@ -31,7 +31,7 @@ Buildrequires: pam-devel >= 1.0.1
 Buildrequires: audit-libs-devel >= 1.4.1
 %endif
 
-Requires(post): /sbin/chkconfig coreutils
+Requires(post): /sbin/chkconfig coreutils sed
 Requires(postun): /sbin/chkconfig
 Requires(postun): /sbin/service 
 Requires(preun): /sbin/chkconfig 
@@ -49,6 +49,7 @@ Requires: crontabs
 Group: System Environment/Base
 Provides: anacron = 2.4
 Obsoletes: anacron <= 2.3
+Requires(post): coreutils
 
 %description anacron
 Anacron becames part of cronie. Anacron is used only for running regular jobs.
@@ -104,6 +105,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add crond
+
+%post anacron
 [ -e /var/spool/anacron/cron.daily ] || touch /var/spool/anacron/cron.daily
 [ -e /var/spool/anacron/cron.weekly ] || touch /var/spool/anacron/cron.weekly
 [ -e /var/spool/anacron/cron.monthly ] || touch /var/spool/anacron/cron.monthly
@@ -170,6 +173,9 @@ cp -a /var/lock/subsys/crond /var/lock/s
 %{_mandir}/man8/anacron.*
 
 %changelog
+* Fri Aug 14 2009 Tomas Mraz <tmraz at redhat.com> - 1.4.1-2
+- create the anacron timestamps in correct post script
+
 * Fri Aug 14 2009 Marcela Mašláňová <mmaslano at redhat.com> - 1.4.1-1
 - update to 1.4.1
 - create and own /var/spool/anacron/cron.{daily,weekly,monthly} to




More information about the fedora-extras-commits mailing list