[Yum-devel] [PATCH] Try comparing provides versions, if they all match. BZ 782345.
Zdenek Pavlas
zpavlas at redhat.com
Wed Jan 18 08:31:57 UTC 2012
> pkgA: Provides: foo-ABI = 1234
> pkgB: Provides: foo-ABI = abcd
A simple 'ver starts with a digit' check in _pkg2prov_version()
should probably handle most of such cases.
> 1. Do we want to do it after requirements checks, or maybe before
> where we do it now?
> 2. Spew all over the API. Is it worth it?
> 3. Do we want to pass the req. down into the plugin callback?
I'd rather keep bestPackageFromList() as-is, and patch
the return path of searchProvides() (unless there's a catch).
Doing the 'provides sort' before requirements (but after conflicts)
seems fine to me.
More information about the Yum-devel
mailing list