noarch rpm feature query/issue

Michael Schwendt mschwendt at
Fri Apr 3 18:25:10 UTC 2009

On Fri, 3 Apr 2009 19:19:39 +0100, Peter wrote:

> Hi All,
> I have a query about the new noarch feature for building rpms. I have
> a package called gupnp-vala which the contents there of can be noarch.
> It built fine in koji as noarch so I presume it passed the rpmdiff or
> what ever is run against the rpms. But it contains a pkgconfig file
> which is located in /usr/lib or /usr/lib64 so pacakges built against
> it (none actually in Fedora yet, but one awaiting review) fail to
> build on either 32 or 64 bit platforms depending on which of the build
> packages gets the lime light.
> So my query is, I presume due to the pkgconfig this package shouldn't
> be noarch, so there must be a bug there somewhere which caused it to
> get past koji. But as its noarch AFAICT other than the location of the
> pkgconfig file it seems somewhat of a waste to lose the advantage of
> the noarch stuff for the sake of a pkgconfig file as I presume most
> devel packages could be noarch.

Noarch packages should install pkgconfig files into /usr/share/pkgconfig
not /usr/lib/pkgconfig and not %_libdir/pkgconfig either.


More information about the fedora-devel-list mailing list