forked from pool/python-pytest-subtests
This commit is contained in:
@@ -24,9 +24,9 @@ Summary: Python unittest subTest() support and subtests fixture
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pytest-dev/pytest-subtests
|
URL: https://github.com/pytest-dev/pytest-subtests
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-subtests/pytest-subtests-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-subtests/pytest-subtests-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module attr}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools >= 40.0}
|
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pytest >= 7.0
|
Requires: python-pytest >= 7.0
|
||||||
@@ -43,10 +43,10 @@ Python unittest subTest() support and subtests fixture.
|
|||||||
%setup -q -n pytest-subtests-%{version}
|
%setup -q -n pytest-subtests-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|||||||
Reference in New Issue
Block a user