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.
This commit is contained in:
parent
ac30567925
commit
741d90e9b6
@ -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@redhat.com> - 1.4.8-8
|
||||
- change triggerun to fix 735802 during upgrade
|
||||
|
||||
* Wed Jul 27 2011 Karsten Hopp <karsten@redhat.com> 1.4.8-7
|
||||
- rebuild again, ppc still had the broken rpm in the buildroots
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user