diff --git a/python-pytest-subtests.spec b/python-pytest-subtests.spec index 70ead4a..5ff2d8f 100644 --- a/python-pytest-subtests.spec +++ b/python-pytest-subtests.spec @@ -8,9 +8,11 @@ License: MIT URL: https://github.com/pytest-dev/pytest-subtests Source: %{pypi_source pytest_subtests} -BuildArch: noarch +BuildSystem: pyproject +BuildOption(install): -l pytest_subtests +BuildOption(generate_buildrequires): -t -BuildRequires: python3-devel +BuildArch: noarch %description pytest-subtests unittest subTest() support and subtests fixture. @@ -23,24 +25,7 @@ Summary: %{summary} %{summary}. -%prep -%autosetup -n pytest_subtests-%{version} - - -%generate_buildrequires -%pyproject_buildrequires -t - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files -l pytest_subtests - - -%check +%check -a %tox -- -- -rs -v tests