Democracy player anyone?
Michel Salim
michel.salim at gmail.com
Sun Nov 12 18:47:35 UTC 2006
On 11/12/06, Michael Schwendt <bugs.michael at gmx.net> wrote:
> On Sun, 12 Nov 2006 02:16:01 -0500, Michel Salim wrote:
>
> > I tried using %find_lang, but it's bizarre how it could not pick up
> > the localization files.
>
> The first parameter of %find_lang serves two purposes:
>
> 1) it's a file name prefix, which will be prepended to ".lang", resulting
> in the file which contains a generated fragment for the %files section
>
> 2) it's a regular expression, used when searching for message object files
>
> So, when the package is called "Democracy" and the .mo files are called
> "democracyplayer.mo", the regexp pattern fails, since you cannot simply
> use "%find_lang %name" anymore. You would need "%find_lang democracyplayer"
> or a hack-ish regexp pattern, which also gives a working filename.
>
Tried that. Even tried using /usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT
%name --all-name, which /should/ pick up every .mo file under the
build root, right?
--
Michel Salim
Don't worry about avoiding temptation -- as you grow older, it starts
avoiding you.
-- The Old Farmer's Almanac
More information about the fedora-extras-list
mailing list