[packages/python3-dom_toml] Migrate to new macros

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


commit 33089b10bf2d46332e5c3de9943ef1f43da44c25
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Feb 8 14:18:13 2025 +0100

    Migrate to new macros

 python3-dom_toml.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python3-dom_toml.spec b/python3-dom_toml.spec
index b139150..f69b42a 100644
--- a/python3-dom_toml.spec
+++ b/python3-dom_toml.spec
@@ -12,7 +12,7 @@ BuildRequires:	python3-build
 BuildRequires:	python3-installer
 BuildRequires:	python3-modules >= 1:3.2
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
+BuildRequires:	rpmbuild(macros) >= 2.044
 Requires:	python3-modules >= 1:3.2
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,12 +24,12 @@ Dom's tools for Tom's Obvious, Minimal Language.
 %setup -q -n dom_toml-%{version}
 
 %build
-%{__python3} -m build --wheel --no-isolation --outdir build-3
+%py3_build_pyproject
 
 %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-dom_toml.git/commitdiff/33089b10bf2d46332e5c3de9943ef1f43da44c25



More information about the pld-cvs-commit mailing list