Browse Source

cronie 1.4.11-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8616 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 9 years ago
parent
commit
36107245db
1 changed files with 7 additions and 1 deletions
  1. 7 1
      c/cronie/cronie-vl.spec

+ 7 - 1
c/cronie/cronie-vl.spec

@@ -4,7 +4,7 @@
 %bcond_without inotify
 
 %define ver 1.4.11
-%define rel 1
+%define rel 2
 
 Summary:   Cron daemon for executing programs at set times
 Name:      cronie
@@ -159,6 +159,9 @@ if [ "$1" -ge "1" ]; then
   /sbin/service crond condrestart >/dev/null 2>&1 || :
 fi
 
+%triggerpostun -- vixie-cron
+/sbin/chkconfig --add crond
+
 %files
 %doc AUTHORS COPYING INSTALL README ChangeLog
 %attr(755,root,root) %{_sbindir}/crond
@@ -192,6 +195,9 @@ fi
 %attr(0644,root,root) %{_sysconfdir}/cron.d/dailyjobs
 
 %changelog
+* Thu Jun 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.4.11-2
+- run chkconfig for vixie-cron in triggerpostun script
+
 * Thu Jun 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.4.11-1
 - initial build for Vine Linux