From 6f3979a781afe56e97347088e66809aca2a50d39d224d42efc21f89aded3668c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 9 Jun 2019 16:55:53 +0000 Subject: [PATCH] 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 --- python-Pillow.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || \