From 51501f9a0bbd9c12b933dfbfd64580e4d04ca5a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 1 Sep 2017 11:28:31 +0200 Subject: [PATCH] Conditionalize systemtap-devel BuildRequires --- python3.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python3.spec b/python3.spec index f5902c0..ae2a4fb 100644 --- a/python3.spec +++ b/python3.spec @@ -183,9 +183,11 @@ BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: sqlite-devel -BuildRequires: systemtap-sdt-devel +%if %{with systemtap} BuildRequires: systemtap-devel +BuildRequires: systemtap-sdt-devel %global tapsetdir /usr/share/systemtap/tapset +%endif BuildRequires: tar BuildRequires: tcl-devel @@ -199,6 +201,8 @@ BuildRequires: valgrind-devel BuildRequires: xz-devel BuildRequires: zlib-devel +BuildRequires: /usr/bin/dtrace + %if %{with rewheel} BuildRequires: python3-setuptools BuildRequires: python3-pip @@ -1574,6 +1578,7 @@ fi %changelog * Fri Sep 01 2017 Miro HronĨok - 3.6.2-14 - Expat >= 2.1.0 is everywhere, remove explicit requires +- Conditionalize systemtap-devel BuildRequires * Mon Aug 28 2017 Petr Viktorin - 3.6.2-13 - Rename patch files to be consistent