[logwatch] Fix bad backport

jsynacek jsynacek at fedoraproject.org
Fri Jul 4 08:24:17 UTC 2014


commit adbadf2ebe77d3a1eb07fc96a0ecc0358430cd71
Author: Jan Synacek <jsynacek at redhat.com>
Date:   Fri Jul 4 10:24:19 2014 +0200

    Fix bad backport

 logwatch-oldfiles.patch |    2 +-
 logwatch.spec           |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/logwatch-oldfiles.patch b/logwatch-oldfiles.patch
index 847e63c..eedb730 100644
--- a/logwatch-oldfiles.patch
+++ b/logwatch-oldfiles.patch
@@ -49,7 +49,7 @@ Backported-By: Jan Synacek <jsynacek at redhat.com>
  my @old_dirs = grep { /^logwatch\.\w{8}$/ && -d "$Config{'tmpdir'}/$_" }
     readdir(TMPDIR);
 -if (@old_dirs) {
-+if (@old_dirs && ($NoOldfilesLog==0)) {
++if ((@old_dirs) && ($NoOldfilesLog==0)) {
     print "You have old files in your logwatch tmpdir ($Config{'tmpdir'}):\n\t";
     print join("\n\t", @old_dirs);
     print "\nThe directories listed above were most likely created by a\n";
diff --git a/logwatch.spec b/logwatch.spec
index 1b91843..3f7bf39 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -2,7 +2,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.4.0
-Release: 32.20140704svn%{revision}%{?dist}
+Release: 33.20140704svn%{revision}%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -147,6 +147,9 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
 %{_mandir}/man*/*
 
 %changelog
+* Fri Jul  4 2014 Jan Synáček <jsynacek at redhat.com> - 7.4.0-33.20140704svn198
+- Fix bad backport
+
 * Fri Jul  4 2014 Jan Synáček <jsynacek at redhat.com> - 7.4.0-32.20140704svn198
 - Update to revision 198
 


More information about the scm-commits mailing list