Blame SPECS/crontabs.spec

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