[libwpd] use absolute path

David Tardon dtardon at fedoraproject.org
Tue Jul 1 17:27:14 UTC 2014


commit fd40d4b3583123a076694c5cf008057e7a7b4560
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Jul 1 19:22:32 2014 +0200

    use absolute path

 libwpd.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libwpd.spec b/libwpd.spec
index 3865d73..3d61f2f 100644
--- a/libwpd.spec
+++ b/libwpd.spec
@@ -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
 


More information about the scm-commits mailing list