rpms/logwatch/devel logwatch-6.1.2-yum_erase.patch, NONE, 1.1 logwatch.spec, 1.18, 1.19

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jun 29 09:50:44 UTC 2005


Author: varekova

Update of /cvs/dist/rpms/logwatch/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21659

Modified Files:
	logwatch.spec 
Added Files:
	logwatch-6.1.2-yum_erase.patch 
Log Message:
- fix bug 161973 - The logwatch yum service doesn't properly
 show removed entries
- used patch created by Dean Earley (patch5)


logwatch-6.1.2-yum_erase.patch:
 yum |    8 ++++++++
 1 files changed, 8 insertions(+)

--- NEW FILE logwatch-6.1.2-yum_erase.patch ---
--- logwatch-6.1.2/scripts/services/yum.erase	2005-02-24 18:08:05.000000000 +0100
+++ logwatch-6.1.2/scripts/services/yum	2005-06-29 11:30:33.362085480 +0200
@@ -27,6 +27,8 @@
       $PackageInstalled{$ThisLine}++;
    } elsif ( $ThisLine =~ s/^Dep Installed: ([^ ]+)/$1/ ) {
       $PackageDepInstalled{$ThisLine}++;
+   } elsif ( $ThisLine =~ s/^Erased: ([^ ]+)/$1/ ) {
+      $PackageErased{$ThisLine}++;
    } else {
       # Report any unmatched entries...
       push @OtherList,$ThisLine;
@@ -51,6 +53,12 @@
        print "   ". $ThisOne;
    }
 }
+if (keys %PackageErased) {
+   print "\nPackage Erased:\n";
+   foreach $ThisOne (keys %PackageErased) {
+       print "   ". $ThisOne;
+   }
+}
 
 if ($#OtherList >= 0) {
    print "\n**Unmatched Entries**\n";


Index: logwatch.spec
===================================================================
RCS file: /cvs/dist/rpms/logwatch/devel/logwatch.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- logwatch.spec	23 Jun 2005 11:11:17 -0000	1.18
+++ logwatch.spec	29 Jun 2005 09:50:42 -0000	1.19
@@ -1,7 +1,7 @@
 Summary: A log file analysis program.
 Name: logwatch
 Version: 6.1.2
-Release: 1
+Release: 2
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -9,6 +9,7 @@
 Patch1: logwatch-4.3.2-nounicode.patch
 Patch2: logwatch-4.3.2-nosegfault.patch
 Patch4: logwatch-2.6-101744-up2date.patch
+Patch5: logwatch-6.1.2-yum_erase.patch
 Requires: textutils sh-utils grep mailx
 BuildRoot: %{_tmppath}/logwatch-build
 BuildArchitectures: noarch
@@ -26,6 +27,8 @@
 %patch1 -p1
 %patch2 -p1
 %patch4 -p1
+%patch5 -p1 -b .erase
+
 
 %install
 rm -rf %{buildroot}
@@ -103,6 +106,11 @@
 %doc License project/CHANGES project/TODO
 
 %changelog
+* Wed Jun 29 2005 Ivana Varekova <varekova at redhat.com> 6.1.2-2
+- fix bug 161973 - The logwatch yum service doesn't properly 
+show removed entries
+- used patch created by Dean Earley (patch5)
+
 * Thu Jun 23 2005 Ivana Varekova <varekova at redhat.com> 6.1.2-1
 - update to 6.1.2-1
 




More information about the fedora-cvs-commits mailing list