[packages/python3-sphinxcontrib-htmlhelp] Migrate to new macros
arekm
arekm at pld-linux.org
Sat Feb 8 15:02:40 CET 2025
commit 83ef176e9dd74a79ea904ad33479e999e10b9bd0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Feb 8 14:18:56 2025 +0100
Migrate to new macros
python3-sphinxcontrib-htmlhelp.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python3-sphinxcontrib-htmlhelp.spec b/python3-sphinxcontrib-htmlhelp.spec
index 4d9119e..65b4f27 100644
--- a/python3-sphinxcontrib-htmlhelp.spec
+++ b/python3-sphinxcontrib-htmlhelp.spec
@@ -22,7 +22,7 @@ BuildRequires: python3-html5lib
BuildRequires: python3-pytest
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 2.044
Requires: python3-modules >= 1:3.6
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,7 +39,7 @@ HTML.
%setup -q -n sphinxcontrib_htmlhelp-%{version}
%build
-%{__python3} -m build --wheel --no-isolation --outdir build-3
+%py3_build_pyproject
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
@@ -49,7 +49,7 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%install
rm -rf $RPM_BUILD_ROOT
-%{__python3} -m installer --destdir=$RPM_BUILD_ROOT build-3/*.whl
+%py3_install_pyproject
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinxcontrib-htmlhelp.git/commitdiff/83ef176e9dd74a79ea904ad33479e999e10b9bd0
More information about the pld-cvs-commit
mailing list