Accepting request 708816 from home:okurz:branches:devel:languages:python

Fix if/else for arch check

OBS-URL: https://build.opensuse.org/request/show/708816
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=83
This commit is contained in:
Matej Cepl 2019-06-09 16:55:53 +00:00 committed by Git OBS Bridge
parent 66fb3a3917
commit 6f3979a781

View File

@ -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 || \