extras-repoclosure rc-modified,1.27,1.28

Michael Schwendt mschwendt at fedoraproject.org
Fri Jul 10 18:01:27 UTC 2009


Author: mschwendt

Update of /cvs/fedora/extras-repoclosure
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9134

Modified Files:
	rc-modified 
Log Message:
catch "Obsoletes without Provides" packaging mistakes which affect updates only / thinko in Extras repoclosure - todo: cleaner handling of Obsoletes in general


Index: rc-modified
===================================================================
RCS file: /cvs/fedora/extras-repoclosure/rc-modified,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- rc-modified	9 Jun 2009 12:13:48 -0000	1.27
+++ rc-modified	10 Jul 2009 18:01:26 -0000	1.28
@@ -238,9 +238,10 @@
                                 thispkgobsdict = self.up.checkForObsolete([po.pkgtup])
                                 if thispkgobsdict.has_key(po.pkgtup):
                                     for pkgtup in thispkgobsdict[po.pkgtup]:
-                                        if pkgtup in pkgtuplist:
+                                        if pkgtup in pkgtuplist and pkgtup in resolve_sack.simplePkgList():
                                             resolved_by_newest = True
                                             break
+                                    continue  # Obsoletes without Provides
                             except AttributeError:
                                 pass
                         




More information about the scm-commits mailing list