From a7e352158254f2c03fd3dfac8e1a1de15897f63ea10eb659076996a87879d5a1 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Wed, 5 Aug 2020 05:35:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/zimg?expand=0&rev=31 --- zimg.spec | 8 ++++++++ 1 file changed, 8 insertions(+) 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