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

Pierre-YvesChibon pingou at fedoraproject.org
Wed Aug 7 21:19:20 UTC 2013


commit 9bba4e3f316a0b536067d673dd8903a6a9221130
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date:   Wed Aug 7 23:19:09 2013 +0200

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

 logwatch.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/logwatch.spec b/logwatch.spec
index e971a1f..35cf750 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.4.0
-Release: 29.20130522svn140%{?dist}
+Release: 30.20130522svn140%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -29,6 +29,7 @@ Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
 Requires: perl(Sys::CPU)
 Requires: perl(Sys::MemInfo)
+Requires: crontabs
 BuildArchitectures: noarch
 
 %description
@@ -122,7 +123,7 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
 %dir %{_sysconfdir}/logwatch/conf/logfiles
 %dir %{_sysconfdir}/logwatch/conf/services
 %dir %{_sysconfdir}/logwatch/scripts/services
-%{_sysconfdir}/cron.daily/0logwatch
+%config(noreplace) %{_sysconfdir}/cron.daily/0logwatch
 %config(noreplace) %{_sysconfdir}/logwatch/conf/*.conf
 %dir %{_datadir}/logwatch
 %dir %{_datadir}/logwatch/dist.conf
@@ -147,6 +148,11 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
 %{_mandir}/man*/*
 
 %changelog
+* Wed Aug 07 2013 Pierre-Yves Chibon <pingou at pingoured.fr> 7.4.0-30.20130522svn140
+- Add missing requires on crontabs
+- Mark cron job as config(noreplace)
+- Fix RHBZ#989075
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 7.4.0-29.20130522svn140
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list