[Yum-devel] [PATCH] Fix arch behavior for versioned obsoletes

Florian Festi ffesti at redhat.com
Mon Nov 12 14:14:22 UTC 2007


Hi!

Attached patch completes the behavior change Jeremy introduced with 
5badc2b67b9885d2993b6f77423bc632b8595b01 - "when an obsolete is available 
for a package, only install most matching arch rather than all available 
arches (rh#301661)". Currently arch is ignored for versioned obsoletes as 
the now added lines are missing in that code path. Please commit!

There is a test case in my "gold" branch but the patch depends on other 
patch sets in that branch - feel free to pull them in.

Special thanks to Zdenek Kabelac for reporting that problem and Thomas 
Wörner for hunting it down.

Have fun

	Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-versioned-obsoletes-fix.diff
Type: text/x-patch
Size: 701 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20071112/34e520e6/attachment.bin 


More information about the Yum-devel mailing list