Build a noarch package with files in %{_libdir}

Ville Skyttä ville.skytta at iki.fi
Sun Nov 9 19:57:04 UTC 2008


On Sunday 09 November 2008, Nicoleau Fabien wrote:
> Hi,
> I have a problem to build a package
> (http://sd-2469.dedibox.fr/photobatch/download/index.html). 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}".




More information about the fedora-devel-list mailing list