From a78f35ba305d3c5144e6060c63ae8f5c4d0bf5407491c469ce4c105b8f0462cd Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 10 Nov 2017 18:27:48 +0000 Subject: [PATCH] Accepting request 540484 from home:pluskalm:branches:devel:tools - Use pytho3 by default (fate#323526) * Do not explicitly require python by subpackage, dependency gets generated automatically OBS-URL: https://build.opensuse.org/request/show/540484 OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=88 --- systemtap.changes | 7 +++++++ systemtap.spec | 11 +++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/systemtap.changes b/systemtap.changes index f60c6cf..4ca83df 100644 --- a/systemtap.changes +++ b/systemtap.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Nov 10 12:48:28 UTC 2017 - mpluskal@suse.com + +- Use pytho3 by default (fate#323526) + * Do not explicitly require python by subpackage, dependency gets + generated automatically + ------------------------------------------------------------------- Thu Mar 30 19:42:04 UTC 2017 - tonyj@suse.com diff --git a/systemtap.spec b/systemtap.spec index b462c8c..3301ae5 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -42,6 +42,7 @@ BuildRequires: mozilla-nspr-devel BuildRequires: mozilla-nss-devel BuildRequires: mozilla-nss-tools BuildRequires: pkg-config +BuildRequires: python3-base BuildRequires: sqlite-devel BuildRequires: systemd Requires: %{name}-runtime = %{version}-%{release} @@ -84,7 +85,6 @@ This package contains the server component of systemtap. Summary: Static probe support tools Group: Development/Tools/Debuggers Requires: %{name} = %{version}-%{release} -Requires: python-base %description sdt-devel SystemTap is an instrumentation system for systems running Linux. @@ -96,11 +96,14 @@ This package contains the support tools for static probes. %patch2 -p1 %build -%configure --disable-docs --docdir=%{_docdir}/systemtap -make %{?_smp_mflags} +%configure \ + --disable-docs \ + --with-python3 \ + --docdir=%{_docdir}/systemtap +make %{?_smp_mflags} V=1 %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install # XXX rm -f %{buildroot}%{_libexecdir}/systemtap/stap-server-request # README, AUTHORS, NEWS, man3 and all examples packaged by systemtap-docs