Remove tox to disable build

This commit is contained in:
2026-02-02 10:35:48 +08:00
parent a9eba30163
commit b5907b91c6

View File

@@ -43,6 +43,10 @@ Provides: python3-%{srcname}
%python_provide python3-%{srcname}
%prep -a
%if %{without test}
sed -i -e 's/tox//g' requirements.txt
%endif
sed -i -e '/pytest-cov/d' setup.py
sed -i -e 's/--cov=lz4\/block --cov=lz4\/frame//' tox.ini