From 1a82f05e6c4cb13ce414880cf759b0c51fbabfe3 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 2 Jan 2015 19:00:16 +0100 Subject: [PATCH] run tests --- libvisio.spec | 4 ++++ 1 file changed, 4 insertions(+) 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.*