]> git.pld-linux.org Git - packages/systemtap.git/blobdiff - systemtap.spec
do disable python probes when bcond is disabled
[packages/systemtap.git] / systemtap.spec
index 638d364ee09f52b7d32a807178027527f23b4119..3e8e24bb881f0e56bc4061043ada79dfedd87022 100644 (file)
@@ -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"}
This page took 0.032023 seconds and 4 git commands to generate.