rpms/yum/devel yum-2.3.2-erase-sort.patch, NONE, 1.1 yum.spec, 1.40, 1.41

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue May 24 17:27:46 UTC 2005


Author: pnasrat

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

Modified Files:
	yum.spec 
Added Files:
	yum-2.3.2-erase-sort.patch 
Log Message:
Work around for cli erase ordering (#158577)

yum-2.3.2-erase-sort.patch:
 cli.py |    3 +++
 1 files changed, 3 insertions(+)

--- NEW FILE yum-2.3.2-erase-sort.patch ---
--- yum-2.3.2/cli.py.erase	2005-05-24 13:23:04.000000000 -0400
+++ yum-2.3.2/cli.py	2005-05-24 13:23:17.000000000 -0400
@@ -636,6 +636,9 @@
         self.populateTs(keepold=0) # populate the ts
         self.ts.check() #required for ordering
         self.ts.order() # order
+        if self.basecmd in ['erase', 'remove']:
+            import rpm
+            self.ts.addTsFlag(rpm.RPMTRANS_FLAG_REVERSE)
 
         # put back our depcheck callback
         self.dsCallback = dscb


Index: yum.spec
===================================================================
RCS file: /cvs/dist/rpms/yum/devel/yum.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- yum.spec	24 May 2005 14:55:38 -0000	1.40
+++ yum.spec	24 May 2005 17:27:44 -0000	1.41
@@ -1,12 +1,13 @@
 Summary: RPM installer/updater
 Name: yum
 Version: 2.3.2
-Release: 5
+Release: 6
 License: GPL
 Group: System Environment/Base
 Source0: http://linux.duke.edu/projects/yum/download/2.3/yum-%{version}.tar.gz
 Source1: yum.conf.fedora
 Patch0: yum-fc4.patch
+Patch1: yum-2.3.2-erase-sort.patch
 URL: http://linux.duke.edu/yum/
 BuildArchitectures: noarch
 BuildRequires: python
@@ -27,6 +28,7 @@
 %prep
 %setup -q -n yum-%{version}
 %patch0 -p0
+%patch1 -p1
 
 %build
 make
@@ -74,6 +76,9 @@
 %{_mandir}/man*/*
 
 %changelog
+* Tue May 24 2005 Paul Nasrat <pnasrat at redhat.com> - 2.3.2-6
+- Erase/remove reversing for yum cli (#158577)
+
 * Tue May 24 2005 Jeremy Katz <katzj at redhat.com> - 2.3.2-5
 - allow multiple packages _providing_ kernel-devel (or any installonlypkgs) 
   to be installed (#155988)




More information about the fedora-cvs-commits mailing list