Update again spec, this change persuade update from cronie on higher cronie
to chkconfig --add crond.
This commit is contained in:
parent
a8a483058c
commit
00da7873bd
@ -6,7 +6,7 @@
|
|||||||
Summary: Cron daemon for executing programs at set times
|
Summary: Cron daemon for executing programs at set times
|
||||||
Name: cronie
|
Name: cronie
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: MIT and BSD
|
License: MIT and BSD
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: https://fedorahosted.org/cronie
|
URL: https://fedorahosted.org/cronie
|
||||||
@ -82,9 +82,7 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/cron.deny
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ "$1" = "1" ]; then
|
|
||||||
/sbin/chkconfig --add crond
|
/sbin/chkconfig --add crond
|
||||||
fi
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = "0" ]; then
|
if [ "$1" = "0" ]; then
|
||||||
@ -128,6 +126,9 @@ service crond restart ) > /dev/null 2>&1 ||:
|
|||||||
%config(noreplace) %{_sysconfdir}/cron.deny
|
%config(noreplace) %{_sysconfdir}/cron.deny
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Feb 6 2008 Marcela Maslanova <mmaslano@redhat.com> - 1.0-4
|
||||||
- 431366 after reboot wasn't cron in chkconfig
|
- 431366 after reboot wasn't cron in chkconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user