On Thu, Jul 18, 2019 at 10:26 AM Philip Kovacs via devel
<devel@lists.fedoraproject.org> wrote:
>
> A "necessary and sufficient" question on the use of .pc files supplied by 
> library providers.
>
> 1. Package foo-devel installs a pkgconfig .pc file as a convenience to 
> developers.
> 2. Package bar requires headers and libraries provided by foo and is both a 
> build
>     and runtime dependency of foo.
> 3. Package bar uses autotools and m4 to discover and test for the presence
>     of foo.h and libfoo, but does not use not pkgconfig in any way.
>
> True or False:
>
> The spec for package bar MUST use BuildRequires: foo-devel and not
> BuildRequires: pkgconfig(foo), because bar does not use pkgconfig directly.
>
> Ref: 
> https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/
>

Technically, I suppose the wording strongly pushes that way. It’s
certainly the guideline I use myself.

But it’s also worth examining if you can contribute upstream to change
it to use pkgconfig instead.


-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to