[packages/systemtap] do disable python probes when bcond is disabled
atler
atler at pld-linux.org
Mon Jul 3 13:45:01 CEST 2023
commit 11d61debe5d9c5e2cc38260e5ab1c97e02a90921
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jul 3 12:36:01 2023 +0200
do disable python probes when bcond is disabled
systemtap.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/systemtap.spec b/systemtap.spec
index 638d364..3e8e24b 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -327,7 +327,10 @@ find testsuite/systemtap.examples/ -name '*.stp' -print0 | xargs -0 \
--enable-server \
--enable-sqlite \
--with-dyninst%{!?with_dyninst:=no} \
- --with-java=%{?with_java:%{java_home}}%{!?with_java:no}
+ --with-java=%{?with_java:%{java_home}}%{!?with_java:no} \
+ %{!?with_python2:--without-python2-probes} \
+ %{!?with_python3:--without-python3-probes}
+
%{__make} \
%{?with_java:JAVAC="%{java_home}/bin/javac"} \
%{?with_java:JAR="%{java_home}/bin/jar"}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemtap.git/commitdiff/d621331a0280c2e57000c20efdc1ebdf2ef5b11c
More information about the pld-cvs-commit
mailing list