pkg-config, noarch, and rpmlint

Adam Williamson awilliam at redhat.com
Tue Jan 18 00:21:37 UTC 2011


On Mon, 2011-01-17 at 15:54 -0800, Brad Bell wrote:
> I have a case where a package is noarch and it provides pkg-config support.
> 
> The problem is that pkg-config expects a noarch file corresponding to 
> the package to be stored in
>      ${_libdir}/pkgconfig
> and  rpmlint complains that
>       cppad.spec:112: W: libdir-macro-in-noarch-package devel 
> %{_libdir}/pkgconfig/%{name}.pc

It can go to %{_datadir}/pkgconfig , which exists for exactly this
situation.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net



More information about the devel mailing list