Avoid tox dependency
tox is unwanted in RHEL, and provides little value even in the Fedora build.
This commit is contained in:
parent
b2841a0e52
commit
131a73a721
@ -40,7 +40,7 @@ Summary: %{summary}
|
|||||||
chmod -c -x html/index.html
|
chmod -c -x html/index.html
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%pyproject_buildrequires -t
|
%pyproject_buildrequires
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@ -51,7 +51,7 @@ rm -vfr %{buildroot}%{_docdir}/*
|
|||||||
%pyproject_save_files iniparse
|
%pyproject_save_files iniparse
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%tox
|
%{py3_test_envvars} %{python3} ./runtests.py
|
||||||
|
|
||||||
%files -n python3-iniparse -f %{pyproject_files}
|
%files -n python3-iniparse -f %{pyproject_files}
|
||||||
# pyproject_files handles both license files; verify with “rpm -qL -p …”
|
# pyproject_files handles both license files; verify with “rpm -qL -p …”
|
||||||
|
Loading…
Reference in New Issue
Block a user