Le 18/07/2019 à 18:26, Nicolas Chauvet a écrit :
> "Build dependencies on Fedora packages which provide
pkg-config files SHOULD be expressed
> as pkgconfig(foo) and not foo-devel, whether the dependent package uses pkg-config
or not."
This is true for the fast majority of cases. Specially where there is
only one provider of pkgconfig(foo).
But sometime there is a need for a compat library and then I don't
know if my package may uses the main library of the compat one.
pkgconfig(foo) will pick one or the other, but using the package name
is more deterministic to me.
Indeed, pkgconfig(foo) start to raise issues when multiple providers exists.
One example is pkgconfig(openssl)
IMHO, if your package use pkg-config to discover a library, then it rely
on foo.pc, then have to require pkgconfig(foo), else foo-devel make more
sense.
Remi