Re: [PATCH] Make unversioned satisfy everything in rangeCompare() also with flag=0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ville Skyttä <ville.skytta@xxxxxx> writes:

> Hello,
>
> Retrieving provides from rpmdb gives unversioned ones to me with flags=0 
> (Fedora 10, rpm 4.6.1), and rangeCompare() does not do the right thing with 
> them - it has a special case for None only.  The attached patch fixes it for 
> me.

 I added the formatRequire() patch and then this one, and some more
tests ... and then realized that the formatRequire() one is bad
because if you have:

# pkgA
Require: foo >=

# pkgB
Provide: foo < 1.0-1

...then you need to know that there is a >= pkgA require, because it
fails.

-- 
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux