faf586
%global snap_release 20190603
a09f80
Summary: Root crontab files used to schedule the execution of programs
a09f80
Name: crontabs
a09f80
Version: 1.11
faf586
Release: 17.%{snap_release}git%{?dist}
a09f80
License: Public Domain and GPLv2
faf586
URL: https://github.com/cronie-crond/crontabs
faf586
Source0: https://github.com/cronie-crond/crontabs/releases/download/crontabs-%{snap_release}/%{name}-%{version}-%{snap_release}git.tar.gz
a09f80
BuildArch: noarch
faf586
Requires: sed
a09f80
Recommends: cronie
a09f80
a09f80
%description
faf586
This package is used mainly for executing files by cron.
a09f80
a09f80
The crontabs package contains root crontab files and directories.
a09f80
You will need to install cron daemon to run the jobs from the crontabs.
a09f80
The cron daemon such as cronie or fcron checks the crontab files to
a09f80
see when particular commands are scheduled to be executed.  If commands
a09f80
are scheduled, it executes them.
a09f80
a09f80
Crontabs handles a basic system function, so it should be installed on
a09f80
your system.
a09f80
a09f80
%prep
a09f80
%setup -q 
a09f80
a09f80
%build
a09f80
#empty
a09f80
a09f80
%install
a09f80
rm -rf $RPM_BUILD_ROOT
a09f80
mkdir -p $RPM_BUILD_ROOT/etc/cron.{hourly,daily,weekly,monthly}
a09f80
mkdir -p $RPM_BUILD_ROOT/usr/bin
a09f80
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man4/
a09f80
a09f80
install -m644 ./crontab $RPM_BUILD_ROOT/etc/crontab
a09f80
install -m755 ./run-parts $RPM_BUILD_ROOT/usr/bin/run-parts
a09f80
install -m644 ./{crontabs,run-parts}.4 $RPM_BUILD_ROOT/%{_mandir}/man4/
a09f80
a09f80
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/
a09f80
touch $RPM_BUILD_ROOT/etc/sysconfig/run-parts
a09f80
a09f80
%files
a09f80
%{!?_licensedir:%global license %%doc}
a09f80
%license COPYING
a09f80
%config(noreplace) /etc/crontab
a09f80
%attr(0644,root,root) %config(noreplace) /etc/sysconfig/run-parts
a09f80
%{_bindir}/run-parts
a09f80
%dir /etc/cron.hourly
a09f80
%dir /etc/cron.daily
a09f80
%dir /etc/cron.weekly
a09f80
%dir /etc/cron.monthly
a09f80
%{_mandir}/man4/*
a09f80
a09f80
%changelog
faf586
* Wed Jan 06 2021 Ondřej Pohořelský <opohorel@redhat.com> - 1.11-17.20190603git
faf586
- update to the latest release
faf586
- add sed require
faf586
- remove %%clean section
faf586
- remove obsolete Group tag
faf586
- fix upstream URL
faf586
- Resolves: rhbz#1696449, rhbz#1703982
faf586
a09f80
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-16.20150630git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a09f80
a09f80
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-15.20150630git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a09f80
a09f80
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-14.20150630git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a09f80
a09f80
* Thu Nov 24 2016 Tomáš Mráz <tmraz@redhat.com> - 1.11-13.20150630git
a09f80
- use Recommends to pull in cronie (#1269172)
a09f80
a09f80
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-12.20150630git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a09f80
a09f80
* Wed Aug 12 2015 Tomáš Mráz <tmraz@redhat.com> - 1.11-11.20150630git
a09f80
- fix logging of PID in the finished line (#1236841)
a09f80
a09f80
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-10.20130830git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a09f80
a09f80
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> - 1.11-9.20130830git
a09f80
- fix license handling
a09f80
a09f80
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-8.20130830git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a09f80
a09f80
* Fri Aug 30 2013 Marcela Mašláňová <mmaslano@redhat.com> 1.11-7.20121102git
a09f80
- fix man page link 971583
a09f80
a09f80
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-6.20121102git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a09f80
a09f80
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-5.20121102git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a09f80
a09f80
* Thu Nov  1 2012 Marcela Mašláňová <mmaslano@redhat.com> 1.11-5.20121102git
a09f80
- update to the latest git snapshot with copying file and fixed man pages
a09f80
a09f80
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-4.20101115git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a09f80
a09f80
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3.20101115git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a09f80
a09f80
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2.20101115git
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a09f80
a09f80
* Mon Nov 15 2010 Marcela Mašláňová <mmaslano@redhat.com> 1.11-1
a09f80
- run-parts attempted to execute jobs that are not executable.
a09f80
a09f80
* Thu Nov 11 2010 Marcela Mašláňová <mmaslano@redhat.com> 1.11-1
a09f80
- 652268 fix missing /
a09f80
a09f80
* Tue Nov  9 2010 Marcela Mašláňová <mmaslano@redhat.com> 1.11-1
a09f80
- new git snapshot with --test and --list options
a09f80
a09f80
* Fri Oct 22 2010 Marcela Mašláňová <mmaslano@redhat.com> 1.11-1
a09f80
- use sources from source fedorahosted
a09f80
a09f80
* Mon Oct 18 2010 Marcela Mašláňová <mmaslano@redhat.com> 1.10-34
a09f80
- add --list option into run-parts
a09f80
a09f80
* Wed Mar 24 2010 Marcela Mašláňová <mmaslano@redhat.com> 1.10-33
a09f80
- remove useless seting of home to "/"
a09f80
a09f80
* Mon Oct 12 2009 Marcela Mašláňová <mmaslano@redhat.com> 1.10-32
a09f80
- rebuilt for review
a09f80
a09f80
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-31
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a09f80
a09f80
* Thu Jun 18 2009 Marcela Mašláňová <mmaslano@redhat.com> 1.10-30
a09f80
- 491793 thanks Andrew Hecox for patch which allows set allow/deny jobs
a09f80
- comment change "empty crontab"
a09f80
a09f80
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-29
a09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a09f80
a09f80
* Tue Jan 27 2009 Marcela Mašláňová <mmaslano@redhat.com> 1.10-28
a09f80
- 474219 requires on /etc/cron.d
a09f80
a09f80
* Mon Jan 26 2009 Marcela Mašláňová <mmaslano@redhat.com> 1.10-27
a09f80
- Change requires back to cronie.
a09f80
a09f80
* Mon Jan 26 2009 Marcela Mašláňová <mmaslano@redhat.com> 1.10-26
a09f80
- change /etc/crontab. All anacron jobs in cron.daily,weekly,...
a09f80
 are check by anacron every hour. Anacron run them if they didn't
a09f80
 run today. 
a09f80
a09f80
* Mon Dec  1 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.10-25
a09f80
- Added /etc/cron.{hourly,daily,weekly,monthly} dirs again. bz#473353
a09f80
a09f80
* Mon Jun  9 2008 Marcela Maslanova <mmaslano@redhat.com> 1.10-23
a09f80
- 450084 LANG=C is set up for running scripts
a09f80
a09f80
* Wed May 28 2008 Marcela Maslanova <mmaslano@redhat.com> 1.10-22
a09f80
- remove scripts for delay, anacron now own most of the scripts. 
a09f80
Crontabs owns only run-parts, /etc/crontab and crontabs sysconfig.
a09f80
a09f80
* Mon May 5 2008 Marcela Maslanova <mmaslano@redhat.com> 1.10-21
a09f80
- 445079 delay script failed in case DELAY is zero
a09f80
a09f80
* Fri Apr 4 2008 Marcela Maslanova <mmaslano@redhat.com> 1.10-20
a09f80
- 440410 log pid of process instead of logger's pid
a09f80
a09f80
* Mon Oct 22 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-19
a09f80
- run-parts log also end of each job (patch from J. Kamens)
a09f80
- Resolves: rhbz#303081
a09f80
a09f80
* Tue Sep 25 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-18
a09f80
- cron.{hourly, daily,...} run ok
a09f80
- rhbz#296741
a09f80
a09f80
* Thu Aug 30 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-17
a09f80
- better solution of configuration script
a09f80
a09f80
* Mon Aug 27 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-16
a09f80
- 254220 typo in script run-parts
a09f80
a09f80
* Tue Aug 21 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-15
a09f80
- corrected license tag in spec
a09f80
- add config file to crontab - delay of cron.{daily,...} could be
a09f80
    switch off
a09f80
- Resolves: rhbz#253536
a09f80
a09f80
* Tue Feb 27 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-14
a09f80
- review again
a09f80
a09f80
* Thu Feb  8 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-13
a09f80
- rhbz#225662 review
a09f80
a09f80
* Mon Jan 29 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-12
a09f80
- link daily,weekly,monthly
a09f80
- rhbz#224687
a09f80
a09f80
* Wed Jan 24 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-11
a09f80
- crontabs should ignore Cfengine files, rebuilt
a09f80
- Resolves: rhbz#223472
a09f80
a09f80
* Wed Oct 11 2006 Marcela Maslanova <mmaslano@redhat.com> 1.10-9
a09f80
- patch (#110894) for delaying more emails in the moment
a09f80
a09f80
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> 0 1.10-8
a09f80
- rebuilt
a09f80
a09f80
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
a09f80
- rebuilt
a09f80
a09f80
* Mon Sep 20 2004 Jason Vas Dias <jvdias@redhat.com>
a09f80
- rebuilt under new CVS for dist-fc3
a09f80
a09f80
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
a09f80
- rebuilt
a09f80
a09f80
* Fri Feb  7 2003 Bill Nottingham <notting@redhat.com>
a09f80
- not-as-automated rebuild
a09f80
a09f80
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
a09f80
- automated rebuild
a09f80
a09f80
* Thu May 23 2002 Tim Powers <timp@redhat.com>
a09f80
- automated rebuild
a09f80
a09f80
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
a09f80
- automated rebuild
a09f80
a09f80
* Thu Jul 19 2001 Preston Brown <pbrown@redhat.com>
a09f80
- don't require tmpwatch
a09f80
a09f80
* Tue Feb 27 2001 Preston Brown <pbrown@redhat.com>
a09f80
- noreplace crontab file; use tmppath
a09f80
a09f80
* Wed Jan 31 2001 Bill Nottingham <notting@redhat.com>
a09f80
- don't process ,v files (#15968)
a09f80
a09f80
* Mon Aug  7 2000 Bill Nottingham <notting@redhat.com>
a09f80
- put name of script in output of stuff run by run-parts (#12411)
a09f80
a09f80
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
a09f80
- automatic rebuild
a09f80
a09f80
* Tue Jun  6 2000 Bill Nottingham <notting@redhat.com>
a09f80
- rebuild
a09f80
a09f80
* Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
a09f80
- don't run *~ or *, files (#4740).
a09f80
a09f80
* Thu Apr 15 1999 Bill Nottingham <notting@redhat.com>
a09f80
- don't run .rpm{save,new,orig} files (bug #2190)
a09f80
a09f80
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
a09f80
- auto rebuild in the new build environment (release 5)
a09f80
a09f80
* Mon Nov 30 1998 Bill Nottingham <notting@redhat.com>
a09f80
- crontab: set HOME=/
a09f80
a09f80
* Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
a09f80
- run-parts: skip sub-directories (e.g. CVS) found instead of complaining
a09f80
a09f80
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
a09f80
- translations modified for de, fr, tr
a09f80
a09f80
* Tue Apr 07 1998 Erik Troan <ewt@redhat.com>
a09f80
- moved crontab jobs up a bit to make sure they aren't confused by
a09f80
  switching to and fro daylight savings time
a09f80
  
a09f80
* Fri Oct 24 1997 Erik Troan <ewt@redhat.com>
a09f80
- removed tmpwatch and at entries
a09f80
a09f80
* Thu Jul 31 1997 Erik Troan <ewt@redhat.com>
a09f80
- made a noarch package