rpm: working with locale files

Jakub Jedelsky jakub.jedelsky at gmail.com
Tue Feb 22 13:40:43 UTC 2011


Dne 22.2.2011 09:47, Michal Nowak napsal(a):
> ----- 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.

I uploaded actual spec file here:
http://static.stderr.cz/fedora/habari/0.6.6-3/habari.spec
Can you please hint me, where and how I can remove locale files from
system/locale? `rm -rf ...` return an error.

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

Thanks for help,

JJ.


More information about the devel mailing list