From 1513feb99453402a123af7a1222d4642332a58ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 7 Jul 2020 20:18:16 +0200 Subject: [PATCH] Switch to %pytest to simplify the spec file --- python-setuptools.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index ea090e6..851473f 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -152,8 +152,7 @@ install -p dist/%{python_wheelname} -t %{buildroot}%{python_wheeldir} # Upstream tests # --ignore=pavement.py: # pavement.py is only used by upstream to do releases and vendoring, we don't ship it -PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=$(pwd) pytest-%{python3_version} \ - --ignore=pavement.py +PYTHONPATH=$(pwd) %pytest --ignore=pavement.py %endif # with tests