[cronie] fix post in scriptlets

Marcela Mašláňová mmaslano at fedoraproject.org
Thu Dec 2 16:05:05 UTC 2010


commit 98378995c8dd5b8b9bf8f7c2d96633ca7554b642
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Thu Dec 2 17:04:46 2010 +0100

    fix post in scriptlets

 cronie.spec |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/cronie.spec b/cronie.spec
index 055f053..a5ce29c 100644
--- a/cronie.spec
+++ b/cronie.spec
@@ -6,7 +6,7 @@
 Summary: Cron daemon for executing programs at set times
 Name: cronie
 Version: 1.4.6
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: MIT and BSD and ISC and GPLv2
 Group: System Environment/Base
 URL: https://fedorahosted.org/cronie
@@ -130,8 +130,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add crond
-# systemd
-/bin/systemctl enable crond.service >/dev/null 2>&1 || :
 
 %post anacron
 [ -e /var/spool/anacron/cron.daily ] || touch /var/spool/anacron/cron.daily
@@ -210,6 +208,9 @@ cp -a /var/lock/subsys/crond /var/lock/subsys/cronie > /dev/null 2>&1 ||:
 %attr(0644,root,root) %{_sysconfdir}/cron.d/dailyjobs
 
 %changelog
+* Thu Dec 02 2010 Marcela Mašláňová <mmaslano at redhat.com> - 1.4.6-4
+- fix post (thanks plautrba for review)
+
 * Tue Nov 30 2010 Marcela Mašláňová <mmaslano at redhat.com> - 1.4.6-3
 - systemd init script 617320
 


More information about the scm-commits mailing list