Switch to %pytest to simplify the spec file
This commit is contained in:
parent
49b0dc3344
commit
1513feb994
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user