pkg-config, noarch, and rpmlint

Matt McCutchen matt at
Mon Jan 17 23:57:09 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

Put the file in /usr/share/pkgconfig .


More information about the devel mailing list