- 477709 hack aroung problems with running jobs twice
- remove patches 6 a 7, they were obsoleted by this hack
This commit is contained in:
parent
08a5d1b934
commit
04db00a4ce
3 changed files with 22 additions and 5 deletions
|
|
@ -1,2 +1,5 @@
|
|||
anacron_2.3.orig.tar.gz
|
||||
anacron.init
|
||||
runanacron
|
||||
anacrontab
|
||||
anacron.cron
|
||||
|
|
|
|||
21
anacron.spec
21
anacron.spec
|
|
@ -1,20 +1,22 @@
|
|||
Summary: A cron-like program that can run jobs lost during downtime
|
||||
Name: anacron
|
||||
Version: 2.3
|
||||
Release: 62%{?dist}
|
||||
Release: 63%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Base
|
||||
URL: http://packages.debian.org/stable/source/anacron
|
||||
Source: http://ftp.debian.org/debian/pool/main/a/anacron/%{name}_%{version}.orig.tar.gz
|
||||
Source1: anacrontab
|
||||
Source2: anacron.init
|
||||
Source3: runanacron
|
||||
Source4: anacron.cron
|
||||
Patch0: anacron_2.3-13.patch
|
||||
Patch1: anacron-2.3-mail-content-type-77108.patch
|
||||
Patch2: anacron-2.3-fdclose.patch
|
||||
Patch3: anacron-2.3-pic.patch
|
||||
Patch4: anacron-2.3-memleaking.patch
|
||||
Patch5: anacron-2.3-onbattery.patch
|
||||
Patch6: anacron-2.3-sterr_null.patch
|
||||
#Patch5: anacron-2.3-onbattery.patch
|
||||
#Patch6: anacron-2.3-sterr_null.patch
|
||||
Patch7: anacron-2.3-spooldir.patch
|
||||
|
||||
Requires: crontabs
|
||||
|
|
@ -47,8 +49,8 @@ jobs of other Red Hat Linux (or Fedora) packages are executed each day.
|
|||
%patch2 -p1 -b .fdclose
|
||||
%patch3 -p1 -b .pic
|
||||
%patch4 -p1 -b .memleaking
|
||||
%patch5 -p1 -b .onbattery
|
||||
%patch6 -p1 -b .sterr
|
||||
#%patch5 -p1 -b .onbattery
|
||||
#%patch6 -p1 -b .sterr
|
||||
%patch7 -p1 -b .spool
|
||||
|
||||
%build
|
||||
|
|
@ -74,6 +76,9 @@ cp debian/0anacron.weekly $RPM_BUILD_ROOT/etc/cron.weekly/0anacron
|
|||
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d/
|
||||
install -c -m755 %SOURCE2 $RPM_BUILD_ROOT/etc/rc.d/init.d/anacron
|
||||
install -c -m755 %SOURCE3 $RPM_BUILD_ROOT/usr/sbin/runanacron
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/cron.d
|
||||
install -m644 %SOURCE4 $RPM_BUILD_ROOT/etc/cron.d/anacron
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
|
@ -104,11 +109,17 @@ fi
|
|||
/%{_mandir}/man5/*
|
||||
/%{_mandir}/man8/*
|
||||
/usr/sbin/anacron
|
||||
/usr/sbin/runanacron
|
||||
/etc/cron.d/anacron
|
||||
%attr(755,root,root) %dir /etc/cron.daily/0anacron
|
||||
%attr(755,root,root) %dir /etc/cron.monthly/0anacron
|
||||
%attr(755,root,root) %dir /etc/cron.weekly/0anacron
|
||||
|
||||
%changelog
|
||||
* Mon Feb 2 2009 Marcela Mašláňová <mmaslano@redhat.com> 2.3-63
|
||||
- 477709 hack aroung problems with running jobs twice
|
||||
- remove patches 6 a 7, they were obsoleted by this hack
|
||||
|
||||
* Thu Oct 23 2008 Marcela Mašláňová <mmaslano@redhat.com> 2.3-62
|
||||
- rewrite init script - using fedora guidelines SysVInitScript
|
||||
|
||||
|
|
|
|||
3
sources
3
sources
|
|
@ -1,2 +1,5 @@
|
|||
9fdfc50f5741643332722a9145146278 anacron_2.3.orig.tar.gz
|
||||
094af5e05723d2c4924d60f73d738509 anacron.init
|
||||
1e65b1fcb49c7929645a1bd0baffd7ef runanacron
|
||||
e4368e8f686c710f63027af0f213cfe5 anacrontab
|
||||
312b5eed93765e26e9d21f23bccc72c9 anacron.cron
|
||||
|
|
|
|||
Reference in a new issue