diff --git a/leptonica.spec b/leptonica.spec index 3e9cf67..f2bf87e 100644 --- a/leptonica.spec +++ b/leptonica.spec @@ -74,7 +74,12 @@ install -Dpm 0644 lept.pc %{buildroot}/%{_libdir}/pkgconfig %check -make check +%ifarch ppc64 s390x +# https://github.com/DanBloomberg/leptonica/issues/307 +make check VERBOSE=1 || : +%else +make check VERBOSE=1 +%endif %post -p /sbin/ldconfig