summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--systemtap.spec.in35
2 files changed, 14 insertions, 26 deletions
diff --git a/ChangeLog b/ChangeLog
index 17a7cb7e..a32e32a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-08 David Smith <dsmith@redhat.com>
+
+ PR 5670
+ * systemtap.spec.in: Further simplification.
+
2008-02-07 Frank Ch. Eigler <fche@elastic.org>
* buildrun.cxx (run_make_cmd, compile_pass): Tweak kbuild
diff --git a/systemtap.spec.in b/systemtap.spec.in
index 96de2284..789f219f 100644
--- a/systemtap.spec.in
+++ b/systemtap.spec.in
@@ -3,32 +3,15 @@
# Version number of oldest elfutils release that works with systemtap.
%define elfutils_version 0.127
-# The following build options are enabled by default. Use either
-# '--without <opt>' in your rpmbuild command or force values to 0 in
-# here to disable them.
-
-# Build with sqlite support
-%define with_sqlite %{?_without_sqlite: 0} %{?!_without_sqlite: 1}
-
-# The following build options are disabled by default. Use either
-# '--with <opt>' in your rpmbuild command or force values to 1 in here
-# to enable them.
-
-# Build with crash extension.
-%define with_crash %{?_with_crash: 1} %{?!_with_crash: 0}
-# Use the bundled version of elfutils (vs. the system's version). Use
-# the system's version of elfutils on systems that have
-# %{elfutils_version} or higher.
-%define with_bundled_elfutils %{?_with_bundled_elfutils: 1} %{?!_with_bundled_elfutils: 0}
-
-# Set up OS specific defaults.
-%if 0%{?rhel}
-%if "%rhel" >= "5"
-# Enable these options by default for RHEL (unless the user has
-# specified them on the command line).
-%define with_crash %{?_without_crash: 0} %{?!_without_crash: 1}
-%define with_bundled_elfutils %{?_without_bundled_elfutils: 0} %{?!_without_bundled_elfutils: 1}
-%endif
+# Default options (suitable for fedora)
+%define with_sqlite 1
+%define with_crash 0
+%define with_bundled_elfutils 0
+
+# Enable these options by default for RHEL
+%if 0%{?rhel} >= 5
+%define with_crash 1
+%define with_bundled_elfutils 1
%endif
Name: systemtap