From bc6794cee1832d92976d3c69c0c426a10dbf0df3 Mon Sep 17 00:00:00 2001 From: Andrey Bondrov Date: Fri, 2 Sep 2016 10:20:18 +1000 Subject: [PATCH] Try not to export LD path when building locales --- glibc.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/glibc.spec b/glibc.spec index bb7c975..ebfaeec 100644 --- a/glibc.spec +++ b/glibc.spec @@ -57,7 +57,7 @@ Summary: The GNU libc libraries Name: glibc Epoch: 6 Version: 2.24 -Release: 2 +Release: 1 License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Group: System/Libraries Url: http://www.eglibc.org/ @@ -1303,10 +1303,10 @@ rm -f %{buildroot}%{_infodir}/dir %if %{with locales} export PATH=%{buildroot}%{_bindir}:%{buildroot}%{_sbindir}:$PATH -%global glibcver %(rpm -q --qf "%%{VERSION}" glibc) -%if "%{shrink:%{python:rpm.evrCompare(rpm.expandMacro("%{ver}"),rpm.expandMacro("%{glibcver}"))}}" == "0" -export LD_LIBRARY_PATH=%{buildroot}/%{_lib}:%{buildroot}%{_libdir}:$LD_LIBRARY_PATH -%endif +#global glibcver %(rpm -q --qf "%%{VERSION}" glibc) +#if "%{shrink:%{python:rpm.evrCompare(rpm.expandMacro("%{ver}"),rpm.expandMacro("%{glibcver}"))}}" == "0" +#export LD_LIBRARY_PATH=%{buildroot}/%{_lib}:%{buildroot}%{_libdir}:$LD_LIBRARY_PATH +#endif export I18NPATH=%{buildroot}%{_datadir}/i18n # Needed for/used by locale-archive