Requires: %{_libdir}/pkgconfig

Michael Schwendt mschwendt at gmail.com
Thu Jun 18 10:34:57 UTC 2009


On Thu, 7 May 2009 17:26:23 +0200, Michael wrote:

> Dependency chaos. Some packagers have started with adding
> 
>   Requires: %{_libdir}/pkgconfig
> 
> instead of the good old "Requires: pkgconfig". Not only is this dependency
> expensive -- the filelists metadata must be loaded and parsed -- it doesn't
> work correctly either, because
> 
> 1) package "pkgconfig" is not multilib'ed, so e.g. pkgconfig.i386 is
> not available in the x86_64 repo, and hence nothing provides the
> /usr/lib/pkgconfig directory, (and it would be a broken dep) but

Meanwhile, pkgconfig is being multilib'ed. For F-11 and F-12. I see
pkgconfig.i386 in the x86_64 repo, and that means one could require
pkgconfig%{?_isa} where automatic .pc file dependencies don't pull it in.




More information about the fedora-devel-list mailing list