diff --git a/python-pytest-xprocess.changes b/python-pytest-xprocess.changes index 9633f91..e3024cc 100644 --- a/python-pytest-xprocess.changes +++ b/python-pytest-xprocess.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 7 07:01:03 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Fri Jun 7 07:03:26 UTC 2024 - Dirk Müller diff --git a/python-pytest-xprocess.spec b/python-pytest-xprocess.spec index 29fa519..762c725 100644 --- a/python-pytest-xprocess.spec +++ b/python-pytest-xprocess.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-xprocess # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,9 +24,11 @@ Summary: A pytest plugin for managing processes across test runs License: MIT URL: https://github.com/pytest-dev/pytest-xprocess Source: https://files.pythonhosted.org/packages/source/p/pytest-xprocess/pytest-xprocess-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest >= 2.8} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-psutil @@ -46,10 +48,10 @@ rm -rvf tests/__pycache__ chmod -x README.rst %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -59,6 +61,6 @@ chmod -x README.rst %doc README.rst %license LICENSE %{python_sitelib}/xprocess -%{python_sitelib}/pytest_xprocess-%{version}*-info +%{python_sitelib}/pytest_xprocess-%{version}.dist-info %changelog