This commit is contained in:
parent
7005908ef2
commit
a7e3521582
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user