diff --git a/python-Pillow.spec b/python-Pillow.spec index f6479a8..dfcfcd9 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -108,7 +108,7 @@ Python Imaging Library by Fredrik Lundh and Contributors. %check %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -%ifarch ppc ppc64 s390 s390x +%if %_arch == s390x || %_arch == s390x || %_arch == ppc || %_arch == ppc64 $python selftest.py --installed || \ echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204" $python setup.py test || \