Mia Herkt 2019-08-22 14:50:34 +00:00 committed by Git OBS Bridge
parent a452f5ea08
commit 674b3a8d29

View File

@ -72,6 +72,8 @@ make %{?_smp_mflags} V=1
rm -rf %{buildroot}%{_datadir}/doc/zimg
find %{buildroot} -type f -name "*.la" -delete -print
# test suite is broken on other platforms, upstream informed
%ifarch x86_64
%check
make clean
%configure \
@ -83,6 +85,7 @@ make clean
make %{?_smp_mflags} V=1
make %{?_smp_mflags} V=1 test/unit_test
test/unit_test
%endif
%post -n libzimg%{sover} -p /sbin/ldconfig
%postun -n libzimg%{sover} -p /sbin/ldconfig