From 3bbb049663ac7a20a8eb7a52616c62dd32450a1e7323944306fd4de776fe4d27 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 17 Jun 2025 04:20:03 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=22 --- python-flexmock.changes | 5 +++++ python-flexmock.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-flexmock.changes b/python-flexmock.changes index dbcf361..0958d7b 100644 --- a/python-flexmock.changes +++ b/python-flexmock.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 17 04:13:59 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Tue Jan 21 09:17:16 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-flexmock.spec b/python-flexmock.spec index 8a5485c..caf2ebc 100644 --- a/python-flexmock.spec +++ b/python-flexmock.spec @@ -24,8 +24,9 @@ Summary: Testing library for creating mocks, stubs and fakes License: BSD-2-Clause URL: https://github.com/bkabrda/flexmock Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -42,10 +43,10 @@ a number of Python-only features. %autosetup -n flexmock-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -55,6 +56,6 @@ a number of Python-only features. %license LICENSE %doc README.md CHANGELOG.md %{python_sitelib}/flexmock -%{python_sitelib}/flexmock-%{version}-py*.egg-info +%{python_sitelib}/flexmock-%{version}.dist-info %changelog