Open badshah400 opened 4 months ago
Ping?
See https://bugzilla.suse.com/show_bug.cgi?id=1172563, which asked for adding the .pc files.
Thanks for the reference. Looks to me like the missing piece of the puzzle — correct RPM autoprovides for baselibs — has been missing for a while. From reading that bug report, it seems everyone pretty much agrees that packaging .pc files for the baselibs without first correcting the autoprovs is a mistake that is haphazardly worked around in Factory but needs similar hackish workarounds for every project using these biarch libs.
I would still suggest skipping automatic inclusion of these .pc files.
Off the top of my head, the other option would be to turn off AutoProv
for baslibs generated packages that do install .pc files.
Fixes #724.
Avoid default inclusion of pkgconfig files in automatically generated baselibs configured biarch packages. This avoids the "have choice" issue seen with
BuildRequires: pkgconfig(FOO)
type dependencies on OBS for any dependents of a biarch FOO-devel package. It is wrong to ask every project supporting biarch devel packages to configure project macros to disfavour one pkgconfig based dependency in favour of another.Packager may at their wish explicitly include the pkgconfig file in the biarch package explicitly by appropriately configure the associated baselibs.conf file, but as a default, this should be hardly ever required.