[cronie: 3/3] Change triggerun to fix 735802 during upgrade.

Marcela Mašláňová mmaslano at fedoraproject.org
Mon Oct 17 13:08:07 UTC 2011


commit 741d90e9b63518874d3dabfb95b2251f50137c8d
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Mon Oct 17 15:06:41 2011 +0200

    Change triggerun to fix 735802 during upgrade.
    
    Two triggerSomething won't work if they have same target. Therefore
    the first trigger has target cronie-anacron and second will be
    cronie.

 cronie.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/cronie.spec b/cronie.spec
index 61a0626..8fdd852 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.8
-Release:   7%{?dist}
+Release:   8%{?dist}
 License:   MIT and BSD and ISC and GPLv2
 Group:     System Environment/Base
 URL:       https://fedorahosted.org/cronie
@@ -166,7 +166,7 @@ if [ $1 -ge 1 ]; then
     /bin/systemctl try-restart crond.service >/dev/null 2>&1 || :
 fi
 
-%triggerun -- cronie < 1.4.1
+%triggerun -- cronie-anacron < 1.4.1
 # empty /etc/crontab in case there are only old regular jobs
 cp -a /etc/crontab /etc/crontab.rpmsave
 sed -e '/^01 \* \* \* \* root run-parts \/etc\/cron\.hourly/d'\
@@ -232,6 +232,9 @@ exit 0
 %attr(0755,root,root) %{_initrddir}/crond
 
 %changelog
+* Mon Oct 17 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.4.8-8
+- change triggerun to fix 735802 during upgrade
+
 * Wed Jul 27 2011 Karsten Hopp <karsten at redhat.com> 1.4.8-7
 - rebuild again, ppc still had the broken rpm in the buildroots
 


More information about the scm-commits mailing list