From 2f987b610ab0628cf4c257d7e350f45144187474 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Tue, 8 Aug 2023 19:22:04 +0200 Subject: [PATCH] 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} -- 2.44.0