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.*