Don't use LD_LIBRARY_PATH when building locales, otherwise localedef fails to run

This commit is contained in:
Andrey Bondrov 2014-05-23 16:17:52 +11:00
parent 1f457e2936
commit b9d8ab5e94

View file

@ -612,8 +612,8 @@ Group: System/Internationalization
These are the base files for language localization. These are the base files for language localization.
You also need to install the specific locales-?? for the language(s) you want. You also need to install the specific locales-?? for the language(s) you want.
Then the user need to set the LANG variable to their preferred language in their Then the user need to set the LANG variable to their preferred language in
~/.profile configuration file. their ~/.profile configuration file.
%files -n locales %files -n locales
%{_bindir}/locale_install.sh %{_bindir}/locale_install.sh
@ -1303,7 +1303,7 @@ rm -f %{buildroot}%{_infodir}/dir
%if ! %{without locales} %if ! %{without locales}
# Build locales... # Build locales...
export PATH=%{buildroot}%{_bindir}:%{buildroot}%{_sbindir}:$PATH export PATH=%{buildroot}%{_bindir}:%{buildroot}%{_sbindir}:$PATH
export LD_LIBRARY_PATH=%{buildroot}/%{_lib}:%{buildroot}%{_libdir}:$LD_LIBRARY_PATH #export LD_LIBRARY_PATH=%{buildroot}/%{_lib}:%{buildroot}%{_libdir}:$LD_LIBRARY_PATH
export I18NPATH=%{buildroot}%{_datadir}/i18n export I18NPATH=%{buildroot}%{_datadir}/i18n
# make default charset pseudo-locales # make default charset pseudo-locales