Linux Archive

Linux Archive (
-   Fedora Development (
-   -   Build a noarch package with files in %{_libdir} (

Ville Skyttä 11-09-2008 06:57 PM

Build a noarch package with files in %{_libdir}
On Sunday 09 November 2008, Nicoleau Fabien wrote:
> Hi,
> I have a problem to build a package
> ( This is a
> python program, so it's a noarch package.
> But some files are installed in :
> %{_libdir}/nautilus/extensions-2.0/python/
> So it can no really be a noarch package. Then if I remove "noarch",
> rpmlint complains because there are no binary file in the package.
> What is the best option ?

Remove noarch and ignore rpmlint if there's no arch independent dir,
eg. %{_datadir}/nautilus/..., where to install the files instead
of %{_libdir}/nautilus/... available.

If you remove noarch, remember also to disable the likely resulting
empty/useless debuginfo package with "%define debug_package %{nil}".

fedora-devel-list mailing list

All times are GMT. The time now is 12:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.