From b9d8ab5e946265a3d96af6ea7be4acb66764ae22 Mon Sep 17 00:00:00 2001 From: Andrey Bondrov Date: Fri, 23 May 2014 16:17:52 +1100 Subject: [PATCH] Don't use LD_LIBRARY_PATH when building locales, otherwise localedef fails to run --- glibc.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glibc.spec b/glibc.spec index f94b9ae..41e3d87 100644 --- a/glibc.spec +++ b/glibc.spec @@ -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