[packages/python3-sphinxcontrib-applehelp] Migrate to new macros

arekm arekm at pld-linux.org
Sat Feb 8 15:02:38 CET 2025


commit 13062519d8bd09d272bb48e9053a93f8962342cd
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Feb 8 14:18:53 2025 +0100

    Migrate to new macros

 python3-sphinxcontrib-applehelp.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python3-sphinxcontrib-applehelp.spec b/python3-sphinxcontrib-applehelp.spec
index c40ecb3..4bc92ac 100644
--- a/python3-sphinxcontrib-applehelp.spec
+++ b/python3-sphinxcontrib-applehelp.spec
@@ -21,7 +21,7 @@ BuildRequires:	python3-Sphinx
 BuildRequires:	python3-pytest
 %endif
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
+BuildRequires:	rpmbuild(macros) >= 2.044
 Requires:	python3-modules >= 1:3.5
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -38,7 +38,7 @@ książki pomocy Apple.
 %setup -q -n sphinxcontrib_applehelp-%{version}
 
 %build
-%{__python3} -m build --wheel --no-isolation --outdir build-3
+%py3_build_pyproject
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
@@ -48,7 +48,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-applehelp.git/commitdiff/13062519d8bd09d272bb48e9053a93f8962342cd



More information about the pld-cvs-commit mailing list