fix building

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2016-04-09 15:46:00 +02:00
parent 9a30844f0c
commit c9faf8666a
1 changed files with 3 additions and 3 deletions

View File

@ -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