summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Palus2023-07-23 15:13:03 (GMT)
committerJan Palus2023-07-23 15:13:03 (GMT)
commit03873e30dfec62c0c456701b99f36cb60841ec5e (patch)
treea53f91f13a8866be05ef638d649db8fa562fbf12
parent8cdb56d33e31b10898ca7457cca1acd3b39a02d3 (diff)
downloadninja-03873e30dfec62c0c456701b99f36cb60841ec5e.zip
ninja-03873e30dfec62c0c456701b99f36cb60841ec5e.tar.gz
run configure.py with python3
-rw-r--r--ninja.spec4
1 files 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