From c9faf8666a6781a0ef2dddc6f9b723f877cd91f8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 9 Apr 2016 15:46:00 +0200 Subject: [PATCH] fix building Signed-off-by: Igor Gnatenko --- libserf.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libserf.spec b/libserf.spec index a721037..ee1251f 100644 --- a/libserf.spec +++ b/libserf.spec @@ -53,11 +53,11 @@ scons \ %install scons install --install-sandbox=%{buildroot} -find %{buildroot} -type f -name '*.a' -or -name '*.la' -delete -print +find %{buildroot}%{_libdir} -type f -name '*.*a' -delete -print %check -# Use the libserf from $PWD -LD_LIBRARY_PATH=$PWD scons %{?_smp_mflags} check || true +export LD_LIBRARY_PATH=%{buildroot}%{_libdir} +scons %{?_smp_mflags} check || true %post -p /sbin/ldconfig