From 92e32f63f2bb138c1be1592562868d2557db238acda3adf95921d01537314af5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 31 May 2023 19:46:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-subtests?expand=0&rev=19 --- python-pytest-subtests.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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