The package rpms/python-pillow.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-pillow.git/commit/?id=b258....
Change:
+%ifnarch s390x
Thanks.
Full change:
============
commit b2580fec8492523819d01c486770bb528830c4e1
Author: Sandro Mani <manisandro(a)gmail.com>
Date: Mon May 24 18:06:43 2021 +0200
Run full test suite
diff --git a/python-pillow.spec b/python-pillow.spec
index fd47ac4..5bc5209 100644
--- a/python-pillow.spec
+++ b/python-pillow.spec
@@ -8,7 +8,7 @@
Name: python-%{srcname}
Version: 8.1.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Python image processing library
# License: see
http://www.pythonware.com/products/pil/license.htm
@@ -23,8 +23,8 @@ Patch1: python-pillow_sphinx-issues.patch
# Backport fix for CVE-2021-28675 - CVE-2021-28678, CVE-2021-25287-CVE-2021-25288
#
https://github.com/python-pillow/Pillow/commit/ee635befc6497f1c6c4fdb58c2...
-Patch2: CVE-2021-286xx.patch
-Source1: CVE-2021-286xx-testdata.tar.gz
+Patch2: CVE-2021-286xx.patch
+Source1: CVE-2021-286xx-testdata.tar.gz
BuildRequires: freetype-devel
BuildRequires: gcc
@@ -43,6 +43,7 @@ BuildRequires: python3-cffi
BuildRequires: python3-devel
BuildRequires: python3-numpy
BuildRequires: python3-olefile
+BuildRequires: python3-pytest
BuildRequires: python3-qt5
BuildRequires: python3-setuptools
%if 0%{?with_docs}
@@ -131,7 +132,7 @@ Qt %{srcname} image wrapper.
%prep
%autosetup -p1 -n Pillow-%{version}
-tar -xf %{SOURCE1} -C ./Tests/images
+tar -xf %{SOURCE1} -C ./Tests/
%build
# Build Python 3 modules
@@ -154,10 +155,16 @@ install -m 644 src/libImaging/*.h
%{buildroot}/%{py3_incdir}/Imaging
# Check Python 3 modules
ln -s $PWD/Images $PWD/build/%py3_libbuilddir/Images
cp -R $PWD/Tests $PWD/build/%py3_libbuilddir/Tests
-cp -R $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py
+cp -a $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py
pushd build/%py3_libbuilddir
PYTHONPATH=$PWD %{__python3} selftest.py
popd
+%ifnarch s390x
+%pytest -v -k "not test_qt_image_qapplication"
+%else
+%pytest -v -k "not test_qt_image_qapplication" || :
+%endif
+
%files -n python3-%{srcname}
%doc README.md CHANGES.rst
@@ -194,6 +201,9 @@ popd
%changelog
+* Mon May 24 2021 Sandro Mani <manisandro(a)gmail.com> - 8.1.2-3
+- Run full test suite
+
* Mon May 24 2021 Sandro Mani <manisandro(a)gmail.com> - 8.1.2-2
- Backport fix for CVE-2021-28675 - CVE-2021-28678, CVE-2021-25287-CVE-2021-25288
diff --git a/sources b/sources
index 6784942..199f55e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (CVE-2021-286xx-testdata.tar.gz) =
5331006799ba6736e20809b981313d4ce19210465b59ccf2b986ee6c36d5fed89cb92e46e5d1578ea019b598eb0b27c3bae5330a8ab49b3f3d7d4ae05316703c
+SHA512 (CVE-2021-286xx-testdata.tar.gz) =
6c6119cbd2016b706f7caf804e00869c381f31fb7360a3a51d4cb101d470896dd5b4e60c13ab4744d06e31bf60e9ce665efd819cc732be14d8b010308cdba807
SHA512 (Pillow-8.1.2.tar.gz) =
32ffedf8cc8f2c21c241f41938d0521626ea05206d1a762305ac38abedecdf9bc8a6e5e2ded7565340e54797a4395acefb3b4d939ebdde8fc9583a1998bae34d