[yum-cron] Mark /etc/yum/yum-*.yum as config files
Jason ティビツ
tibbs at fedoraproject.org
Wed Jan 5 21:26:02 UTC 2011
commit efe3b8c713641f68dfa7891e2d5caf1685a8b960
Author: Jason Tibbitts <tibbs at math.uh.edu>
Date: Wed Jan 5 12:30:11 2011 -0600
Mark /etc/yum/yum-*.yum as config files
Mark /etc/yum/yum-*.yum as config files so updates don't wipe them out.
yum-cron.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/yum-cron.spec b/yum-cron.spec
index 3841afa..6fc67d6 100644
--- a/yum-cron.spec
+++ b/yum-cron.spec
@@ -1,7 +1,7 @@
Summary: Files needed to run yum updates as a cron job
Name: yum-cron
Version: 0.9.2
-Release: 1%{?dist}
+Release: 2%{?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
@@ -85,12 +85,15 @@ exit 0
%defattr(-,root,root)
%doc COPYING README
%{_sysconfdir}/cron.daily/0yum.cron
-%{_sysconfdir}/yum/yum-daily.yum
-%{_sysconfdir}/yum/yum-weekly.yum
+%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
+* Mon Dec 27 2010 Jason L Tibbitts III <tibbs at math.uh.edu> - 0.9.2-2
+- Mark /etc/yum/yum-*.yum as config files so updates don't wipe them out.
+
* Mon Feb 1 2010 Alec Habig <ahabig at umn.edu> - 0.9.2-1
- Changed the shebang to refer to bash rather than sh, as bashisms are
used so bash should be required (bug 550449)
More information about the scm-commits
mailing list