[packages/ninja] run configure.py with python3

atler atler at pld-linux.org
Sun Jul 23 17:50:38 CEST 2023


commit 03873e30dfec62c0c456701b99f36cb60841ec5e
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jul 23 17:13:03 2023 +0200

    run configure.py with python3

 ninja.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ninja.spec b/ninja.spec
index b146e58..a8525ad 100644
--- a/ninja.spec
+++ b/ninja.spec
@@ -17,7 +17,7 @@ URL:		http://ninja-build.org/
 %{?with_doc:BuildRequires:	asciidoc}
 BuildRequires:	libstdc++-devel
 %{!?with_bootstrap:BuildRequires:	ninja >= 1.3}
-BuildRequires:	python >= 2.0
+BuildRequires:	python3
 BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.673
 Obsoletes:	ninja-build < 1.0.0-2
@@ -97,7 +97,7 @@ Tryb Ninja dla Emacsa.
 export CXX="%{__cxx}"
 export CFLAGS="%{rpmcxxflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
 
-./configure.py \
+%{__python3} ./configure.py \
 	%{?with_bootstrap:--bootstrap} \
 	--verbose
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ninja.git/commitdiff/1b17ac2f1ecdda9f99a8d2e471bea5b94e1637dd



More information about the pld-cvs-commit mailing list