On 2019-02-19, Petr Pisar <ppisar(a)redhat.com> wrote:
I have a few packages that use "virtual provides" provided
by multiple
subpackages to allow users to select an implementation that best fits
his needs. See perl-Archive-Extract for an example.
How would you cope with this use case?
If the virtual provides exist in one source package only, one can detect
this case simply by the fact that they are provided by more than one
binary package. I think the new RPM feature should ignore these
non-uniq Provides.
Another case is when the virtual provides exist in more independent
source packages. Since rpmbuild see only the currently being built
package, it would break the dependency. Is it possible to introduce
a regualar expression based inhibitor like %__exclude_requires to
control what dependency symbols this new feature should ignore?
-- Petr