Using %{find-lang} question

Paul Howarth paul at city-fan.org
Tue Jan 24 14:16:13 UTC 2006


Paul F. Johnson wrote:
> Hi,
> 
> I mostly have a number of Mono packages ready for FE submission on
> Friday and the final one has a pile of language files.
> 
> Paul Howarth says I can find the languages using %{find-lang} but the
> available docs on it are somewhat short.
> 
> I have in my %install the line
> 
> %{find-lang} %{name}-%{version}
> 
> but this just throws back with fg - no job control.

Use:

%{find_lang} %{name}

Note it's find_lang, not find-lang.

> How do I use find-lang and then what needs to be put in the %files area?

Just replace the %files line with:

%files -f %{name}.lang

Paul.




More information about the fedora-extras-list mailing list