From 53f00b17c691873eed94d4f7c03c92a01969d8ae Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 23 May 2011 14:12:51 -0700 Subject: [PATCH] Restore Fedora workarounds in the spec - No docs/publican for now (bz704298) - No crash available on ppc/sparc/arm --- systemtap.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/systemtap.spec b/systemtap.spec index ac3a0c1..b578dc2 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -1,13 +1,17 @@ %{!?with_sqlite: %global with_sqlite 1} -%{!?with_docs: %global with_docs 1} +%{!?with_docs: %global with_docs 0} +%ifarch ppc %{sparc} %{arm}# crash is not available +%{!?with_crash: %global with_crash 0} +%else %{!?with_crash: %global with_crash 1} +%endif %{!?with_rpm: %global with_rpm 1} %{!?with_bundled_elfutils: %global with_bundled_elfutils 0} %{!?elfutils_version: %global elfutils_version 0.127} %{!?pie_supported: %global pie_supported 1} %{!?with_grapher: %global with_grapher 1} %{!?with_boost: %global with_boost 0} -%{!?with_publican: %global with_publican 1} +%{!?with_publican: %global with_publican 0} %{!?publican_brand: %global publican_brand fedora} Name: systemtap