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