[Fedora-packaging] Re: -devel rpms with pkgconfig files should 'Requires: pkgconfig'
Michael J. Knox
michael at knox.net.nz
Wed Jun 21 19:51:00 UTC 2006
Ville Skyttä wrote:
> On Wed, 2006-06-21 at 18:27 +0100, Paul Howarth wrote:
>
>>Jesse Keating wrote:
>>
>>>We've got two differing opinions on this, would anybody else like to
>>>chime in?
>>
>>I think that if the usual method of using a -devel package is by using
>>its .pc file with pkgconfig, then pkgconfig should be a dependency of
>>that package. If the .pc file is provided as a convenience but most
>>users of a particular -devel package don't use it, then don't add the dep.
>
>
> That sounds nice, but I think it's too subjective to be an effective
> practical rule that would really achieve much at all.
>
> Note that no matter if the *.pc file is actually every used by anything,
> there's always the issue of installing stuff into unowned dirs if the
> dependency is not there (%{_libdir}/pkgconfig in this case), which is an
> explicit MUST no-no in the current review guidelines. This assumes that
> only pkgconfig owns the dir; owning it in all packages would feel
> somewhat silly to me.
>
> My +1 to always adding the dependency in packages that install *.pc
> files.
>
I will add a +1 one to Ville's comment. Seems the most reasonable.
Michael
More information about the Fedora-packaging
mailing list