Blame SPECS/crontabs.spec

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