Update again spec, this change persuade update from cronie on higher cronie

to chkconfig --add crond.
This commit is contained in:
Marcela Mašláňová 2008-02-12 15:13:11 +00:00
parent a8a483058c
commit 00da7873bd

View File

@ -6,7 +6,7 @@
Summary: Cron daemon for executing programs at set times
Name: cronie
Version: 1.0
Release: 4%{?dist}
Release: 5%{?dist}
License: MIT and BSD
Group: System Environment/Base
URL: https://fedorahosted.org/cronie
@ -82,9 +82,7 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/cron.deny
rm -rf $RPM_BUILD_ROOT
%post
if [ "$1" = "1" ]; then
/sbin/chkconfig --add crond
fi
%preun
if [ "$1" = "0" ]; then
@ -128,6 +126,9 @@ service crond restart ) > /dev/null 2>&1 ||:
%config(noreplace) %{_sysconfdir}/cron.deny
%changelog
* Tue Feb 12 2008 Marcela Maslanova <mmaslano@redhat.com> - 1.0-5
- upgrade from less than cronie-1.0-4 didn't add chkconfig
* Wed Feb 6 2008 Marcela Maslanova <mmaslano@redhat.com> - 1.0-4
- 431366 after reboot wasn't cron in chkconfig