diff options
author | roland <roland> | 2006-07-17 09:01:11 +0000 |
---|---|---|
committer | roland <roland> | 2006-07-17 09:01:11 +0000 |
commit | 1074f79d6acf34a1f0185db1ef9dae2f69d5c6cc (patch) | |
tree | fa125e8994b06a31062dfebba207d250b64cce0b /systemtap.spec.in | |
parent | ebbf2a18cede3eed37037425d15c994c75e04f8f (diff) | |
download | systemtap-steved-1074f79d6acf34a1f0185db1ef9dae2f69d5c6cc.tar.gz systemtap-steved-1074f79d6acf34a1f0185db1ef9dae2f69d5c6cc.tar.xz systemtap-steved-1074f79d6acf34a1f0185db1ef9dae2f69d5c6cc.zip |
2006-07-17 Roland McGrath <roland@redhat.com>
* configure.ac, systemtap.spec.in: Require elfutils-0.122.
* configure: Regenerated.
* systemtap.spec.in (Release): Use %{?dist}.
Diffstat (limited to 'systemtap.spec.in')
-rw-r--r-- | systemtap.spec.in | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/systemtap.spec.in b/systemtap.spec.in index 57af8ffc..47cb7dfb 100644 --- a/systemtap.spec.in +++ b/systemtap.spec.in @@ -1,10 +1,32 @@ -# Yo! DO NOT CHANGE THE FOLLOWING LINE. +# Release number for rpm build. Stays at 1 for new PACKAGE_VERSION increases. +%define release 1 +# Version number of oldest elfutils release that works with systemtap. +%define elfutils_version 0.122 + +# Set bundled_elfutils to 0 on systems that have %{elfutils_version} or newer. +%if 0%{?fedora} +%define bundled_elfutils 1 +%if "%fedora" >= "6" +%define bundled_elfutils 0 +%endif +%endif + +%if 0%{?rhel} %define bundled_elfutils 1 -%define elfutils_version 0.121 +%if "%rhel" >= "5" +%define bundled_elfutils 0 +%endif +%endif + +%ifndef bundled_elfutils +# Yo! DO NOT TOUCH THE FOLLOWING LINE. +# You can use rpmbuild --define "bundled_elfutils 0" for a build of your own. +%define bundled_elfutils 1 +%endif Name: systemtap Version: @VERSION@ -Release: 1 +Release: %{release}%{?dist} Summary: Instrumentation System Group: Development/System License: GPL |