From 8b2324bbbee5768f1dbbe33c487b0b83801c60429be27c10f26b4c67504a8ab6 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 16 Jun 2025 06:28:21 +0000 Subject: [PATCH] - Switch to pyroject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphobjinv?expand=0&rev=13 --- python-sphobjinv.changes | 5 +++++ python-sphobjinv.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-sphobjinv.changes b/python-sphobjinv.changes index 7a41073..f620618 100644 --- a/python-sphobjinv.changes +++ b/python-sphobjinv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 16 06:28:07 UTC 2025 - Steve Kowalik + +- Switch to pyroject macros. + ------------------------------------------------------------------- Thu Apr 24 12:49:55 UTC 2025 - Daniel Garcia diff --git a/python-sphobjinv.spec b/python-sphobjinv.spec index e06cc99..cf550c7 100644 --- a/python-sphobjinv.spec +++ b/python-sphobjinv.spec @@ -22,9 +22,9 @@ Version: 2.3.1.2 Release: 0 Summary: Sphinx objectsinv Inspection/Manipulation Tool License: MIT -Group: Development/Languages/Python URL: https://github.com/bskinn/sphobjinv Source: https://github.com/bskinn/sphobjinv/archive/refs/tags/v%{version}.tar.gz#/sphobjinv-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -55,10 +55,10 @@ Sphinx objects.inv Inspection/Manipulation Tool sed -i '1{/^#!/d}' src/sphobjinv/_vendored/fuzzywuzzy/*.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/sphobjinv %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -82,6 +82,6 @@ donttest="test_name_lead_chars" %license LICENSE.txt %python_alternative %{_bindir}/sphobjinv %{python_sitelib}/sphobjinv -%{python_sitelib}/sphobjinv-%{version}*-info +%{python_sitelib}/sphobjinv-%{version}.dist-info %changelog