14
0
2025-06-16 06:28:21 +00:00
committed by Git OBS Bridge
parent 64ad448327
commit 8b2324bbbe
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 16 06:28:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 24 12:49:55 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com> Thu Apr 24 12:49:55 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -22,9 +22,9 @@ Version: 2.3.1.2
Release: 0 Release: 0
Summary: Sphinx objectsinv Inspection/Manipulation Tool Summary: Sphinx objectsinv Inspection/Manipulation Tool
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/bskinn/sphobjinv URL: https://github.com/bskinn/sphobjinv
Source: https://github.com/bskinn/sphobjinv/archive/refs/tags/v%{version}.tar.gz#/sphobjinv-%{version}.tar.gz 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: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -55,10 +55,10 @@ Sphinx objects.inv Inspection/Manipulation Tool
sed -i '1{/^#!/d}' src/sphobjinv/_vendored/fuzzywuzzy/*.py sed -i '1{/^#!/d}' src/sphobjinv/_vendored/fuzzywuzzy/*.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/sphobjinv %python_clone -a %{buildroot}%{_bindir}/sphobjinv
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -82,6 +82,6 @@ donttest="test_name_lead_chars"
%license LICENSE.txt %license LICENSE.txt
%python_alternative %{_bindir}/sphobjinv %python_alternative %{_bindir}/sphobjinv
%{python_sitelib}/sphobjinv %{python_sitelib}/sphobjinv
%{python_sitelib}/sphobjinv-%{version}*-info %{python_sitelib}/sphobjinv-%{version}.dist-info
%changelog %changelog