Accepting request 846840 from home:gmbr3:Active

- Fix build with RPM 4.16: error: bare words are no longer
  supported, please use "...":  no == yes.

OBS-URL: https://build.opensuse.org/request/show/846840
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=102
This commit is contained in:
Matej Cepl 2020-11-07 23:40:43 +00:00 committed by Git OBS Bridge
parent 3e5c94a346
commit 0253c80bd0
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Nov 7 16:13:42 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Fix build with RPM 4.16: error: bare words are no longer
supported, please use "...": no == yes.
-------------------------------------------------------------------
Wed Aug 19 09:33:48 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -99,10 +99,10 @@ Python Imaging Library by Fredrik Lundh and Contributors.
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1
%if %{_arch} == s390 || %{_arch} == s390x
%if "%{_arch}" == "s390" || "%{_arch}" == "s390x"
echo "WARNING ignoring tests completely due to https://github.com/python-pillow/Pillow/issues/1204 and segfault"
%else
%if %{_arch} == ppc || %{_arch} == ppc64
%if "%{_arch}" == "ppc" || "%{_arch}" == "ppc64"
$python selftest.py --installed || \
echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204"
pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v || \