On Sun, 12 Nov 2006 13:47:35 -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? A common mistake is to run "%find_lang SOMETHING", but forget to do %files -f SOMETHING.lang ... Just a guess. -- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list