From 58fabfe0b849f7b768bea1a21b255047fa79af19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 27 Aug 2019 13:11:10 +0200 Subject: [PATCH] Don't test Python 2 on Fedora 32+ --- python-wheel.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-wheel.spec b/python-wheel.spec index 79a2463..0655c08 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -41,7 +41,7 @@ compatible install in a way that is very close to the on-disk format. Summary: %{summary} BuildRequires: python2-devel BuildRequires: python2-setuptools -%if ! %{with bootstrap} +%if ! %{with bootstrap} && 0%{?fedora} < 32 BuildRequires: python2-pytest %endif %{?python_provide:%python_provide python2-%{pypi_name}} @@ -116,7 +116,7 @@ install -p dist/%{python_wheelname} -t %{buildroot}%{python_wheeldir} %check rm setup.cfg -%if %{with python2} +%if %{with python2} && 0%{?fedora} < 32 PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-2 -v --ignore build %endif PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build