Accepting request 846884 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/846884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2020-11-12 21:36:39 +00:00 committed by Git OBS Bridge
commit 7f25b2f248
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> 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 %check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1 %{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" echo "WARNING ignoring tests completely due to https://github.com/python-pillow/Pillow/issues/1204 and segfault"
%else %else
%if %{_arch} == ppc || %{_arch} == ppc64 %if "%{_arch}" == "ppc" || "%{_arch}" == "ppc64"
$python selftest.py --installed || \ $python selftest.py --installed || \
echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204" 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 || \ pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v || \