diff --git a/python-pytest-timeout.spec b/python-pytest-timeout.spec index 74155d9..05984f9 100644 --- a/python-pytest-timeout.spec +++ b/python-pytest-timeout.spec @@ -14,8 +14,6 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist pexpect} -BuildRequires: %{py3_dist pytest} >= 3.6.0 -BuildRequires: %{py3_dist setuptools} %global _description %{expand: This is a plugin which will terminate tests after a certain timeout. When doing @@ -34,11 +32,14 @@ Summary: %{summary} %prep %autosetup -p1 -n %{pypi_name}-%{version} +%generate_buildrequires +%pyproject_buildrequires + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install %check %pytest @@ -53,6 +54,7 @@ Summary: %{summary} %changelog * Mon Oct 09 2023 Scott Talbert - 2.2.0-1 - Update to new upstream release 2.2.0 (#2242718) +- Modernize Python packaging * Tue Aug 08 2023 Karolina Surma - 2.1.0-7 - Declare license as an SPDX expression