From 1513feb99453402a123af7a1222d4642332a58ed Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jul 08 2020 13:43:42 +0000 Subject: Switch to %pytest to simplify the spec file --- 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