On 11/12/06, Michael Schwendt <bugs.michael@xxxxxxx> 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 -- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list