From 71e0a13acfdec4e1845ef92b85b527e9c2ded6d1 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 24 May 2021 16:34:23 +0200 Subject: [PATCH] Run full test suite --- python-pillow.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pillow.spec b/python-pillow.spec index b4a85f3..8134ba3 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -8,7 +8,7 @@ Name: python-%{srcname} Version: 8.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python image processing library # License: see http://www.pythonware.com/products/pil/license.htm @@ -149,10 +149,12 @@ 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 +%pytest -v -k "not test_qt_image_qapplication" + %files -n python%{python3_pkgversion}-%{srcname} %doc README.md CHANGES.rst @@ -189,6 +191,9 @@ popd %changelog +* Mon May 24 2021 Sandro Mani - 8.2.0-2 +- Run full test suite + * Fri Apr 02 2021 Sandro Mani - 8.2.0-1 - Update to 8.2.0