diff --git a/.cvsignore b/.cvsignore index 0fcdc5a..04204c7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ -000-delay.cron config diff --git a/crontab b/crontab index 55e3c9e..2e97063 100644 --- a/crontab +++ b/crontab @@ -5,6 +5,3 @@ HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly -02 4 * * * root run-parts /etc/cron.daily -22 4 * * 0 root run-parts /etc/cron.weekly -42 4 1 * * root run-parts /etc/cron.monthly diff --git a/crontabs.spec b/crontabs.spec index d917199..9405899 100644 --- a/crontabs.spec +++ b/crontabs.spec @@ -1,13 +1,12 @@ Summary: Root crontab files used to schedule the execution of programs Name: crontabs Version: 1.10 -Release: 21%{?dist} +Release: 22%{?dist} License: Public Domain and GPLv2 Group: System Environment/Base Source0: crontab Source1: run-parts -Source2: 000-delay.cron -Source3: config +Source2: config BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -23,15 +22,11 @@ your system. %install rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/etc/cron.{hourly,daily,weekly,monthly} mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/etc/sysconfig -cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/crontab +cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/crontab install -m644 $RPM_SOURCE_DIR/crontab $RPM_BUILD_ROOT/etc/crontab install -m755 $RPM_SOURCE_DIR/run-parts $RPM_BUILD_ROOT/usr/bin/run-parts -install -m755 $RPM_SOURCE_DIR/000-delay.cron $RPM_BUILD_ROOT/etc/cron.daily/000-delay.cron -ln -s ../cron.daily/000-delay.cron $RPM_BUILD_ROOT/etc/cron.weekly/000-delay.cron -ln -s ../cron.daily/000-delay.cron $RPM_BUILD_ROOT/etc/cron.monthly/000-delay.cron %clean rm -rf $RPM_BUILD_ROOT @@ -40,16 +35,13 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %config(noreplace) /etc/crontab %{_bindir}/run-parts -%dir /etc/cron.hourly -%dir /etc/cron.daily -%dir /etc/cron.weekly -%dir /etc/cron.monthly -%dir /etc/cron.daily/000-delay.cron -%dir /etc/cron.weekly/000-delay.cron -%dir /etc/cron.monthly/000-delay.cron %config(noreplace) /etc/sysconfig/crontab %changelog +* Wed May 28 2008 Marcela Maslanova 1.10-22 +- remove scripts for delay, anacron now own most of the scripts. +Crontabs owns only run-parts, /etc/crontab and crontabs sysconfig. + * Mon May 5 2008 Marcela Maslanova 1.10-21 - 445079 delay script failed in case DELAY is zero diff --git a/sources b/sources index 2e8e658..ba72251 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ ba1e7d606a110d281c16d9d49c6f335d config -159145e4bdd9f0fc6efaf040cba3480c 000-delay.cron