Avoid a tox BuildRequires by using the dev-requirements.txt file directly
This package might be added to RHEL at some point and we don't have/want tox there.
This commit is contained in:
parent
56e2c983af
commit
a22f20f730
@ -34,7 +34,7 @@ sed -i "/flake8/d" dev-requirements.txt
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires %{?with_tests:-t}
|
||||
%pyproject_buildrequires %{?with_tests:dev-requirements.txt}
|
||||
|
||||
|
||||
%build
|
||||
@ -48,7 +48,7 @@ sed -i "/flake8/d" dev-requirements.txt
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%tox
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user