[man-db] Add requires on crontabs and mark cron job as config(noreplace)

Pierre-YvesChibon pingou at fedoraproject.org
Wed Aug 7 21:25:33 UTC 2013


commit c37706a4c7e8af419719b081e0a24c343b2ef9f4
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date:   Wed Aug 7 23:25:23 2013 +0200

    Add requires on crontabs and mark cron job as config(noreplace)

 man-db.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/man-db.spec b/man-db.spec
index 0de873d..77001ea 100644
--- a/man-db.spec
+++ b/man-db.spec
@@ -4,7 +4,7 @@
 Summary: Tools for searching and reading man pages
 Name: man-db
 Version: 2.6.5
-Release: 2%{?dist}
+Release: 3%{?dist}
 # GPLv2+ .. man-db
 # GPLv3+ .. gnulib
 License: GPLv2+ and GPLv3+
@@ -28,7 +28,7 @@ Provides: man-pages-reader = %{version}
 # FPC exception for gnulib - copylib - https://fedorahosted.org/fpc/ticket/174
 Provides: bundled(gnulib) = %{gnulib_ver}
 
-Requires: coreutils, grep, groff-base, gzip, less
+Requires: coreutils, grep, groff-base, gzip, less, crontabs
 BuildRequires: gdbm-devel, gettext, groff, less, libpipeline-devel, zlib-devel
 BuildRequires: po4a
 
@@ -88,7 +88,7 @@ install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db
 %doc README man-db-manual.txt man-db-manual.ps docs/COPYING ChangeLog NEWS
 %config(noreplace) %{_sysconfdir}/man_db.conf
 %config(noreplace) %{_sysconfdir}/sysconfig/man-db
-%{_sysconfdir}/cron.daily/man-db.cron
+%config(noreplace) %{_sysconfdir}/cron.daily/man-db.cron
 %{_sbindir}/accessdb
 %{_bindir}/man
 %{_bindir}/whatis
@@ -127,6 +127,11 @@ install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db
 %lang(zh_CN)   %{_datadir}/man/zh_CN/man*/*
 
 %changelog
+* Wed Aug 07 2013 Pierre-Yves Chibon <pingou at pingoured.fr> - 2.6.5-3
+- Add a missing requirement on crontabs to spec file
+- Mark the cron job as config(noreplace)
+- Fix RHBZ#988609
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.6.5-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list