rpms/yum/devel yum-2.5.1-remove.patch,NONE,1.1 yum.spec,1.75,1.76

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sun Jan 15 12:45:59 UTC 2006


Author: pnasrat

Update of /cvs/dist/rpms/yum/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv25836

Modified Files:
	yum.spec 
Added Files:
	yum-2.5.1-remove.patch 
Log Message:
Fix traceback

yum-2.5.1-remove.patch:
 __init__.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE yum-2.5.1-remove.patch ---
--- yum-2.5.1/yum/__init__.py.remove	2006-01-15 12:43:10.000000000 +0000
+++ yum-2.5.1/yum/__init__.py	2006-01-15 12:43:23.000000000 +0000
@@ -1278,7 +1278,7 @@
                     try:
                         txmbr.groups.remove(grpid)
                     except ValueError:
-                        self.log(4, "package %s was not marked in group %s" % (po, grpid))
+                        self.log(4, "package %s was not marked in group %s" % (txmbr.po, grpid))
                         continue
                     
                     # if there aren't any other groups mentioned then remove the pkg


Index: yum.spec
===================================================================
RCS file: /cvs/dist/rpms/yum/devel/yum.spec,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- yum.spec	9 Jan 2006 02:06:21 -0000	1.75
+++ yum.spec	15 Jan 2006 12:45:53 -0000	1.76
@@ -3,7 +3,7 @@
 Summary: RPM installer/updater
 Name: yum
 Version: 2.5.1
-Release: 1
+Release: 2
 License: GPL
 Group: System Environment/Base
 Source0: http://linux.duke.edu/projects/yum/download/2.5/yum-%{version}.tar.gz
@@ -12,7 +12,7 @@
 Source99: plugin.conf
 # default plugins here
 Source100: installonlyn.py
-
+Patch0: yum-2.5.1-remove.patch
 URL: http://linux.duke.edu/yum/
 BuildArchitectures: noarch
 BuildRequires: python
@@ -32,6 +32,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .remove
 
 %build
 make
@@ -93,6 +94,9 @@
 /usr/lib/yum-plugins/*
 
 %changelog
+* Sun Jan 15 2006 Paul Nasrat <pnasrat at redhat.com> - 2.5.1-2
+- Fix group removal traceback (#177737)
+
 * Sun Jan  8 2006 Jeremy Katz <katzj at redhat.com> - 2.5.1-1
 - seth loves me and made a 2.5.1 release.  so no cvs snap for you! 
 




More information about the fedora-cvs-commits mailing list