From 4f470a9f5000738cd54dda63d0531038c7e337c7 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 12 Jul 2023 12:19:32 -0400 Subject: [PATCH] Fix LD_LIBRARY_PATH in %check gettext-0.22 dropped the second copy of libintl in gettext-tools, and now relies on the copy in gettext-runtime. These are used for the tests, without which a number will fail. --- gettext.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gettext.spec b/gettext.spec index 0811325..83f92ae 100644 --- a/gettext.spec +++ b/gettext.spec @@ -287,7 +287,7 @@ rm ${RPM_BUILD_ROOT}%{_emacs_sitelispdir}/%{name}/start-po.elc # this takes quite a lot of time to run # adapt to rpath removal -export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$PWD/gettext-tools/intl/.libs +export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$PWD/gettext-runtime/intl/.libs # override LIBUNISTRING to prevent reordering of lib objects make check LIBUNISTRING=-lunistring