diff options
author | dsmith <dsmith> | 2008-02-08 20:14:58 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2008-02-08 20:14:58 +0000 |
commit | eef71d9c1b897fb9b40d54da02b0c83daa975fd1 (patch) | |
tree | bc95a196525238431acfd1c8618564d97c215301 /systemtap.spec.in | |
parent | b54581ce1053d848cfc61d438ec42f4456233275 (diff) | |
download | systemtap-steved-eef71d9c1b897fb9b40d54da02b0c83daa975fd1.tar.gz systemtap-steved-eef71d9c1b897fb9b40d54da02b0c83daa975fd1.tar.xz systemtap-steved-eef71d9c1b897fb9b40d54da02b0c83daa975fd1.zip |
2008-02-08 David Smith <dsmith@redhat.com>
PR 5670
* systemtap.spec.in: Further simplification.
Diffstat (limited to 'systemtap.spec.in')
-rw-r--r-- | systemtap.spec.in | 35 |
1 files changed, 9 insertions, 26 deletions
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 |