diff --git a/zimg.spec b/zimg.spec index 2298b0a..7100633 100644 --- a/zimg.spec +++ b/zimg.spec @@ -62,6 +62,9 @@ autoreconf -fiv # do not enable tests here — they make zimg slower and the install # rule is broken %configure \ +%ifarch armv7l + --disable-simd \ +%endif --disable-static %make_build @@ -70,14 +73,19 @@ autoreconf -fiv rm -rf %{buildroot}%{_datadir}/doc/zimg find %{buildroot} -type f -name "*.la" -delete -print +%ifnarch ppc64 ppc64le %check %make_build clean %configure \ +%ifarch armv7l + --disable-simd \ +%endif --disable-static \ --enable-unit-test %make_build %make_build test/unit_test test/unit_test +%endif %post -n libzimg%{sover} -p /sbin/ldconfig %postun -n libzimg%{sover} -p /sbin/ldconfig