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.
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
~/.profile configuration file.
Then the user need to set the LANG variable to their preferred language in
their ~/.profile configuration file.
%files -n locales
%{_bindir}/locale_install.sh
@ -1303,7 +1303,7 @@ rm -f %{buildroot}%{_infodir}/dir
%if ! %{without locales}
# Build locales...
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
# make default charset pseudo-locales