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:
Miro Hrončok 2023-06-06 18:53:34 +02:00
parent 56e2c983af
commit a22f20f730

View File

@ -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