use absolute path

This commit is contained in:
David Tardon 2014-07-01 19:22:32 +02:00
parent 1420aef3d7
commit fd40d4b358

View File

@ -65,7 +65,8 @@ install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1
%check
LD_LIBRARY_PATH=../lib/.libs make check
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
make check
%post -p /sbin/ldconfig