rpm: working with locale files

Michal Nowak mnowak at redhat.com
Tue Feb 22 08:47:57 UTC 2011

----- Original Message -----
> Hi list,
> I'm new in rpm building and want to prepare a package for webapp
> Habari
> (review request: https://bugzilla.redhat.com/show_bug.cgi?id=673630)
> but.. I
> have a problem with locale files, which are situated in
> %{_datadir}/habari/system/locale. When I use %find_lang macro,
> rpmbuild have
> problem with twice listed files.. Is there any way how to "exclude"
> locale
> files from rpm in spec file?

Perhaps you can first remove the locales you want to be removed and then
running find_lang macro?

Looking at your spec file (http://static.stderr.cz/fedora/habari/0.6.6-2/habari.spec)
it seems you're not using the macro. See 
https://fedoraproject.org/wiki/Packaging:Guidelines for info on how to
use it.

> Maybe it is a silly question, but I can't google anything.
> Thanks for reply,
> Jakub J.


More information about the devel mailing list