> 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.
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to