glibc, %_install_langs and locale

Tomasz Kłoczko kloczek at rudy.mif.pg.gda.pl
Wed Apr 18 10:50:07 CEST 2001


On Wed, 18 Apr 2001, Jacek Konieczny wrote:

> Hi,
> 
> I have set:
> %_install_langs C pl_PL en_GB en_US de_DE pl en de
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> in my /etc/rpm/macros
> 
> Now after upgrading glibc I have got /usr/lib/locale empty and no locale
> works.
> 
> It seems locale data is installed only if no "%_install_langs" is set.
> It may be rpm or glibc.spec broken, but this must be fixed or "%lang"
> in SPECS will make no sense.

>From default /usr/lib/macros:

#       A colon separated list of desired locales to be installed;
          ^^^^^
#       "all" means install all locale specific files.
#       
%_install_langs all

change to:

%_install_langs C:pl_PL:en_GB:en_US:de_DE:pl:en:de

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek at rudy.mif.pg.gda.pl*



More information about the pld-devel-en mailing list