148 lines
4.5 KiB
RPMSpec
148 lines
4.5 KiB
RPMSpec
Summary: Root crontab files used to schedule the execution of programs
|
|
Name: crontabs
|
|
Version: 1.10
|
|
Release: 16%{?dist}
|
|
License: Public Domain and GPLv2
|
|
Group: System Environment/Base
|
|
Source0: crontab
|
|
Source1: run-parts
|
|
Source2: 000-delay.cron
|
|
Source3: config
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
%description
|
|
The crontabs package contains root crontab files. Crontab is the
|
|
program used to install, uninstall or list the tables used to drive the
|
|
cron daemon. The cron daemon checks the crontab files to see when
|
|
particular commands are scheduled to be executed. If commands are
|
|
scheduled, it executes them.
|
|
|
|
Crontabs handles a basic system function, so it should be installed on
|
|
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
|
|
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
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%config(noreplace) /etc/crontab
|
|
/usr/bin/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
|
|
* Mon Aug 27 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-16
|
|
- 254220 typo in script run-parts
|
|
|
|
* Tue Aug 21 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-15
|
|
- corrected license tag in spec
|
|
- add config file to crontab - delay of cron.{daily,...} could be
|
|
switch off
|
|
- Resolves: rhbz#253536
|
|
|
|
* Tue Feb 27 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-14
|
|
- review again
|
|
|
|
* Thu Feb 8 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-13
|
|
- rhbz#225662 review
|
|
|
|
* Mon Jan 29 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-12
|
|
- link daily,weekly,monthly
|
|
- rhbz#224687
|
|
|
|
* Wed Jan 24 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-11
|
|
- crontabs should ignore Cfengine files, rebuilt
|
|
- Resolves: rhbz#223472
|
|
|
|
* Wed Oct 11 2006 Marcela Maslanova <mmaslano@redhat.com> 1.10-9
|
|
- patch (#110894) for delaying more emails in the moment
|
|
|
|
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> 0 1.10-8
|
|
- rebuilt
|
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
- rebuilt
|
|
|
|
* Mon Sep 20 2004 Jason Vas Dias <jvdias@redhat.com>
|
|
- rebuilt under new CVS for dist-fc3
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Fri Feb 7 2003 Bill Nottingham <notting@redhat.com>
|
|
- not-as-automated rebuild
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
- automated rebuild
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
- automated rebuild
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
- automated rebuild
|
|
|
|
* Thu Jul 19 2001 Preston Brown <pbrown@redhat.com>
|
|
- don't require tmpwatch
|
|
|
|
* Tue Feb 27 2001 Preston Brown <pbrown@redhat.com>
|
|
- noreplace crontab file; use tmppath
|
|
|
|
* Wed Jan 31 2001 Bill Nottingham <notting@redhat.com>
|
|
- don't process ,v files (#15968)
|
|
|
|
* Mon Aug 7 2000 Bill Nottingham <notting@redhat.com>
|
|
- put name of script in output of stuff run by run-parts (#12411)
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
- automatic rebuild
|
|
|
|
* Tue Jun 6 2000 Bill Nottingham <notting@redhat.com>
|
|
- rebuild
|
|
|
|
* Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
|
|
- don't run *~ or *, files (#4740).
|
|
|
|
* Thu Apr 15 1999 Bill Nottingham <notting@redhat.com>
|
|
- don't run .rpm{save,new,orig} files (bug #2190)
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
- auto rebuild in the new build environment (release 5)
|
|
|
|
* Mon Nov 30 1998 Bill Nottingham <notting@redhat.com>
|
|
- crontab: set HOME=/
|
|
|
|
* Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
|
|
- run-parts: skip sub-directories (e.g. CVS) found instead of complaining
|
|
|
|
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
|
|
- translations modified for de, fr, tr
|
|
|
|
* Tue Apr 07 1998 Erik Troan <ewt@redhat.com>
|
|
- moved crontab jobs up a bit to make sure they aren't confused by
|
|
switching to and fro daylight savings time
|
|
|
|
* Fri Oct 24 1997 Erik Troan <ewt@redhat.com>
|
|
- removed tmpwatch and at entries
|
|
|
|
* Thu Jul 31 1997 Erik Troan <ewt@redhat.com>
|
|
- made a noarch package
|