[packages/python3-pathspec] Migrate to new macros
arekm
arekm at pld-linux.org
Sat Feb 8 15:02:21 CET 2025
commit 1d74bd83f9e1b014db88c0b50800211cdec89390
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Feb 8 14:18:35 2025 +0100
Migrate to new macros
python3-pathspec.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python3-pathspec.spec b/python3-pathspec.spec
index 25c7614..d0d4ae1 100644
--- a/python3-pathspec.spec
+++ b/python3-pathspec.spec
@@ -17,7 +17,7 @@ BuildRequires: python3-build
BuildRequires: python3-installer
BuildRequires: python3-modules >= 1:3.5
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 2.044
Requires: python3-modules >= 1:2.7
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -38,7 +38,7 @@ wildmatch na potrzeby plików gitignore.
%setup -q -n pathspec-%{version}
%build
-%{__python3} -m build --wheel --no-isolation --outdir build-3
+%py3_build_pyproject
%if %{with tests}
%{__python3} -m pytest tests
@@ -47,7 +47,7 @@ wildmatch na potrzeby plików gitignore.
%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-pathspec.git/commitdiff/1d74bd83f9e1b014db88c0b50800211cdec89390
More information about the pld-cvs-commit
mailing list