extras-repoclosure rc-modified,1.3,1.4
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Mon Jun 19 20:11:44 UTC 2006
- Previous message: rpms/paps/FC-5 paps-0.6.6-font-option.patch, NONE, 1.1 paps-0.6.6-lcctype.patch, NONE, 1.1 paps-typo-font-scale.patch, NONE, 1.1 paps-0.6.6-encoding.patch, 1.1, 1.2 paps.spec, 1.8, 1.9
- Next message: rpms/gdk-pixbuf - New directory
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-repoclosure
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26397
Modified Files:
rc-modified
Log Message:
Preliminary support for new checkForObsolete code in Yum (#190116) _if
available_ so we don't examine old _obsolete_ sub-packages.
Index: rc-modified
===================================================================
RCS file: /cvs/fedora/extras-repoclosure/rc-modified,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rc-modified 19 May 2006 22:53:12 -0000 1.3
+++ rc-modified 19 Jun 2006 20:11:41 -0000 1.4
@@ -100,7 +100,22 @@
mypkgSack = ListPackageSack(pkgs)
pkgtuplist = mypkgSack.simplePkgList()
+ # Support new checkForObsolete code in Yum (#190116)
+ # _if available_
+ # so we don't examine old _obsolete_ sub-packages.
+ import rpmUtils.updates
+ self.up = rpmUtils.updates.Updates([],pkgtuplist)
+ self.up.rawobsoletes = mypkgSack.returnObsoletes()
+
for pkg in pkgs:
+ thispkgobsdict = {}
+ try:
+ thispkgobsdict = self.up.checkForObsolete([pkg.pkgtup])
+ if thispkgobsdict.has_key(pkg.pkgtup):
+ continue
+ except:
+ pass
+
for (req, flags, (reqe, reqv, reqr)) in pkg.returnPrco('requires'):
if req.startswith('rpmlib'): continue # ignore rpmlib deps
- Previous message: rpms/paps/FC-5 paps-0.6.6-font-option.patch, NONE, 1.1 paps-0.6.6-lcctype.patch, NONE, 1.1 paps-typo-font-scale.patch, NONE, 1.1 paps-0.6.6-encoding.patch, 1.1, 1.2 paps.spec, 1.8, 1.9
- Next message: rpms/gdk-pixbuf - New directory
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list