From 741d90e9b63518874d3dabfb95b2251f50137c8d Mon Sep 17 00:00:00 2001 From: Marcela Mašláňová Date: Oct 17 2011 13:06:41 +0000 Subject: 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. --- 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á - 1.4.8-8 +- change triggerun to fix 735802 during upgrade + * Wed Jul 27 2011 Karsten Hopp 1.4.8-7 - rebuild again, ppc still had the broken rpm in the buildroots