Using %{find-lang} question
Ralf Corsepius
rc040203 at freenet.de
Tue Jan 24 14:19:55 UTC 2006
On Tue, 2006-01-24 at 14:10 +0000, 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.
find_lang is just a macro, you to invoke a script:
# rpm -q --showrc | grep find_lang
-14: find_lang /usr/lib/rpm/redhat/find-lang.sh %{buildroot}
> I have in my %install the line
>
> %{find-lang} %{name}-%{version}
>
> but this just throws back with fg - no job control.
>
> How do I use find-lang and then what needs to be put in the %files area?
Check the source:
/usr/lib/rpm/redhat/find-lang.sh
It's a rather trivial wrapper around find.
Ralf
More information about the fedora-extras-list
mailing list