[packages/systemtap] make sure python3 is preferred for dtrace
atler
atler at pld-linux.org
Tue Aug 8 19:56:58 CEST 2023
commit 2f987b610ab0628cf4c257d7e350f45144187474
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Aug 8 19:22:04 2023 +0200
make sure python3 is preferred for dtrace
systemtap.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/systemtap.spec b/systemtap.spec
index b1213d1..3099f5f 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -64,6 +64,7 @@ BuildRequires: pkgconfig
BuildRequires: python-devel >= 1:2.6
BuildRequires: python-setuptools
%endif
+BuildRequires: python3 >= 1:3.2
%if %{with python3}
BuildRequires: python3-devel >= 1:3.2
BuildRequires: python3-setuptools
@@ -334,6 +335,7 @@ find testsuite/systemtap.examples/ -name '*.stp' -print0 | xargs -0 \
--enable-sqlite \
--with-dyninst%{!?with_dyninst:=no} \
--with-java=%{?with_java:%{java_home}}%{!?with_java:no} \
+ --with-python3 \
%{!?with_python2:--without-python2-probes} \
%{!?with_python3:--without-python3-probes}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemtap.git/commitdiff/2f987b610ab0628cf4c257d7e350f45144187474
More information about the pld-cvs-commit
mailing list