- fix chkconfig, rc-scripts deps auto/th/anacron-2_3-25
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 16 Apr 2006 21:31:40 +0000 (21:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    anacron.spec -> 1.39

anacron.spec

index 5e16ef9..c6700e7 100644 (file)
@@ -20,8 +20,9 @@ Patch3:               %{name}-mailto.patch
 Patch4:                %{name}-noconst.patch
 URL:           http://anacron.sourceforge.net/
 BuildRequires: rpmbuild(macros) >= 1.268
-Requires:      /sbin/chkconfig
+Requires(post,preun):  /sbin/chkconfig
 Requires:      /usr/lib/sendmail
+Requires:      rc-scripts
 Provides:      crondaemon
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -124,7 +125,7 @@ fi
 %config %{_sysconfdir}/anacrontab
 %dir /var/spool/anacron/
 %attr(750,root,root) %dir %{_sysconfdir}/cron.*
-%attr(755,root,root) %{_sysconfdir}/cron.daily/0anacron
+%attr(755,root,root) /etc/cron.daily/0anacron
 %attr(755,root,root) %{_sysconfdir}/cron.monthly/0anacron
 %attr(755,root,root) %{_sysconfdir}/cron.weekly/0anacron
 %{_mandir}/man[58]/*
This page took 0.040473 seconds and 4 git commands to generate.