Democracy player anyone?

Gianluca Sforna giallu at gmail.com
Sun Nov 12 15:15:26 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.
>

Question: IIRC in the wiki there was a reference to some BRs to add
for using the %find_lang macro, but now I can not find anything like
that.

Is anything at all needed for it to work?




More information about the fedora-extras-list mailing list