[libvisio] run tests

David Tardon dtardon at fedoraproject.org
Fri Jan 2 18:02:23 UTC 2015


commit 1a82f05e6c4cb13ce414880cf759b0c51fbabfe3
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Jan 2 19:00:16 2015 +0100

    run tests

 libvisio.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libvisio.spec b/libvisio.spec
index 6d3e622..7db95a7 100644
--- a/libvisio.spec
+++ b/libvisio.spec
@@ -79,6 +79,10 @@ install -m 0644 vsd2*.1 vss2*.1 %{buildroot}/%{_mandir}/man1
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
+%check
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
+make check %{?_smp_mflags}
+
 %files
 %doc AUTHORS COPYING.*
 %{_libdir}/%{name}-%{apiversion}.so.*


More information about the scm-commits mailing list