rpms/yum-cron/F-11 .cvsignore, 1.10, 1.11 import.log, 1.2, 1.3 sources, 1.10, 1.11 yum-cron.spec, 1.13, 1.14

Alec Thomas Habig habig at fedoraproject.org
Wed Oct 7 13:29:25 UTC 2009


Author: habig

Update of /cvs/pkgs/rpms/yum-cron/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21894/F-11

Modified Files:
	.cvsignore import.log sources yum-cron.spec 
Log Message:
- Change cron file to 0yum.cron, so yum updates things before the other
  daily jobs such as makewhatis, prelink, updatedb, etc run.  That way
  updated files get picked up properly.  Cost - those jobs will run
  later.  Resolves bug 445894.  Changed default random delay to 60
  minutes from 120 to reduce the cost.
- Eliminate the weekly package cleaning script.  Replace with logic in
  the daily script to clean the packages and the metadata once per week
  (otherwise corrupted meta data messes things up indefinitely).
  Resolves bug 526452.  Removal of seperate weekly script resolves bug
  524461.
- Use find to clear stale locks at start of run, so add findutils req.




Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/yum-cron/F-11/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- .cvsignore	21 Aug 2009 19:31:47 -0000	1.10
+++ .cvsignore	7 Oct 2009 13:29:25 -0000	1.11
@@ -1 +1 @@
-yum-cron-0.8.4.tar.gz
+yum-cron-0.9.0.tar.gz


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/yum-cron/F-11/import.log,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- import.log	21 Aug 2009 19:31:47 -0000	1.2
+++ import.log	7 Oct 2009 13:29:25 -0000	1.3
@@ -1,2 +1,3 @@
 yum-cron-0_8_3-1_fc10:HEAD:yum-cron-0.8.3-1.fc10.src.rpm:1229296060
 yum-cron-0_8_4-2_fc11:F-11:yum-cron-0.8.4-2.fc11.src.rpm:1250883086
+yum-cron-0_9_0-1_fc11:F-11:yum-cron-0.9.0-1.fc11.src.rpm:1254922148


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/yum-cron/F-11/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- sources	21 Aug 2009 19:31:47 -0000	1.10
+++ sources	7 Oct 2009 13:29:25 -0000	1.11
@@ -1 +1 @@
-c80fd195f7b1eaaa42198693960a2171  yum-cron-0.8.4.tar.gz
+bad2ff53cb924a964c4909f24e6f34b3  yum-cron-0.9.0.tar.gz


Index: yum-cron.spec
===================================================================
RCS file: /cvs/pkgs/rpms/yum-cron/F-11/yum-cron.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- yum-cron.spec	21 Aug 2009 19:31:47 -0000	1.13
+++ yum-cron.spec	7 Oct 2009 13:29:25 -0000	1.14
@@ -1,7 +1,7 @@
 Summary: Files needed to run yum updates as a cron job
 Name: yum-cron
-Version: 0.8.4
-Release: 2%{?dist}
+Version: 0.9.0
+Release: 1%{?dist}
 URL: http://linux.duke.edu/yum/
 # This is a Red Hat maintained package which is specific to
 # our distribution.  Thus the source is only available from
@@ -10,7 +10,7 @@ Source0: %{name}-%{version}.tar.gz
 License: GPLv2
 Group: System Environment/Base
 BuildArch: noarch
-Requires: yum >= 3.0 vixie-cron crontabs yum-downloadonly mailx policycoreutils
+Requires: yum >= 3.0 vixie-cron crontabs yum-downloadonly mailx policycoreutils findutils
 Requires(post): /sbin/chkconfig
 Requires(post): /sbin/service
 Requires(preun): /sbin/chkconfig
@@ -31,10 +31,10 @@ rather than the newer yum-updatesd daemo
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -D -m 755 yum.cron.daily $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/yum.cron
-install -D -m 755 yum.cron.weekly $RPM_BUILD_ROOT/%{_sysconfdir}/cron.weekly/yum.cron
+install -D -m 755 0yum.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/0yum.cron
 install -D -m 755 yum-cron $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/yum-cron
 install -D -m 644 yum-daily.yum $RPM_BUILD_ROOT/%{_sysconfdir}/yum/yum-daily.yum
+install -D -m 644 yum-weekly.yum $RPM_BUILD_ROOT/%{_sysconfdir}/yum/yum-weekly.yum
 install -D -m 644 yum-cron.sysconf $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/yum-cron
 
 %clean
@@ -84,13 +84,23 @@ exit 0
 %files
 %defattr(-,root,root)
 %doc COPYING README
-%{_sysconfdir}/cron.daily/yum.cron
-%{_sysconfdir}/cron.weekly/yum.cron
+%{_sysconfdir}/cron.daily/0yum.cron
 %config(noreplace) %{_sysconfdir}/yum/yum-daily.yum
+%config(noreplace) %{_sysconfdir}/yum/yum-weekly.yum
 %{_sysconfdir}/rc.d/init.d/yum-cron
 %config(noreplace) %{_sysconfdir}/sysconfig/yum-cron
 
 %changelog
+* Tue Oct 6 2009 Alec Habig <ahabig at umn.edu> - 0.9.0-1
+- Change cron file to 0yum.cron, so yum updates things before the other daily jobs
+  such as makewhatis, prelink, updatedb, etc run.  That way updated files get picked up
+  properly.  Cost - those jobs will run later.  Resolves bug 445894.  Changed default
+  random delay to 60 minutes from 120 to reduce the cost.
+- Eliminate the weekly package cleaning script.  Replace with logic in the daily script 
+  to clean the packages and the metadata once per week (otherwise corrupted metadata messes 
+  things up indefinitely).  Resolves bug 526452.  Removal of seperate weekly script resolves
+  bug 524461. 
+- Use find to clear stale locks at start of run, so add findutils req.
 * Fri Aug 21 2009 Alec Habig <ahabig at umn.edu> - 0.8.4-2
 - pushing to updates-testing to resolve bug 515814, dealing with stale lockfiles
 




More information about the fedora-extras-commits mailing list