Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dea106912f | ||
|
|
0f3acf8d3d | ||
|
|
eb87f80307 | ||
|
|
f86cbaa7aa | ||
|
|
5a11d34633 | ||
|
|
b53041f680 |
5 changed files with 32 additions and 29 deletions
|
|
@ -1 +0,0 @@
|
|||
yum-cron-0.8.2.tar.gz
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
yum-cron-0.9.0.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: yum-cron
|
||||
# $Id$
|
||||
NAME := yum-cron
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
d824c4bfc76daa5040f77b3bbc39556e yum-cron-0.8.2.tar.gz
|
||||
bad2ff53cb924a964c4909f24e6f34b3 yum-cron-0.9.0.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Summary: Files needed to run yum updates as a cron job
|
||||
Name: yum-cron
|
||||
Version: 0.8.2
|
||||
Version: 0.9.0
|
||||
Release: 1%{?dist}
|
||||
URL: http://linux.duke.edu/yum/
|
||||
# This is a Red Hat maintained package which is specific to
|
||||
|
|
@ -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
|
||||
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 daemon.
|
|||
|
||||
%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,37 @@ 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@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@umn.edu> - 0.8.4-2
|
||||
- pushing to updates-testing to resolve bug 515814, dealing with stale lockfiles
|
||||
|
||||
* Wed Aug 5 2009 Alec Habig <ahabig@umn.edu> - 0.8.4-1
|
||||
- deal with stale lockdirs
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Sun Dec 14 2008 Alec Habig <ahabig@umn.edu> - 0.8.3-1
|
||||
- Change writes to YUMTMP to be appends to work around selinux policy
|
||||
oddness in bug 431588
|
||||
- this requires the added policycoreutils dependancy
|
||||
|
||||
* Wed Mar 12 2008 Alec Habig <ahabig@umn.edu> - 0.8.2-1
|
||||
- Add YUM_PARAMETER for user specified parameters to the sysconf file
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue