[packages/python3-flit_core] Migrate to new macros

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


commit 71c9ea76300d432507aa6a00623c227f22152f0f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Feb 8 14:18:16 2025 +0100

    Migrate to new macros

 python3-flit_core.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python3-flit_core.spec b/python3-flit_core.spec
index a30625b..6bd7e9c 100644
--- a/python3-flit_core.spec
+++ b/python3-flit_core.spec
@@ -20,7 +20,7 @@ BuildRequires:	python3-modules >= 1:3.2
 #BuildRequires:	python3-
 %endif
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
+BuildRequires:	rpmbuild(macros) >= 2.044
 %if %{with doc}
 BuildRequires:	sphinx-pdg-3
 # or
@@ -51,7 +51,7 @@ Dokumentacja API modułu Pythona %{module}.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python3} -m build --wheel --no-isolation --outdir build-3
+%py3_build_pyproject
 
 %if %{with tests}
 # use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
@@ -73,7 +73,7 @@ rm -rf docs/_build/html/_sources
 %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-flit_core.git/commitdiff/71c9ea76300d432507aa6a00623c227f22152f0f



More information about the pld-cvs-commit mailing list