diff --git a/python-pytest-subtests.spec b/python-pytest-subtests.spec index 160cd32..1a0a534 100644 --- a/python-pytest-subtests.spec +++ b/python-pytest-subtests.spec @@ -24,9 +24,9 @@ Summary: Python unittest subTest() support and subtests fixture License: MIT URL: https://github.com/pytest-dev/pytest-subtests Source: https://files.pythonhosted.org/packages/source/p/pytest-subtests/pytest-subtests-%{version}.tar.gz -BuildRequires: %{python_module attr} -BuildRequires: %{python_module setuptools >= 40.0} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest >= 7.0 @@ -43,10 +43,10 @@ Python unittest subTest() support and subtests fixture. %setup -q -n pytest-subtests-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check