summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--systemtap.spec.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/systemtap.spec.in b/systemtap.spec.in
index a9fe018a..2bc14bc1 100644
--- a/systemtap.spec.in
+++ b/systemtap.spec.in
@@ -1,5 +1,5 @@
# Release number for rpm build. Stays at 1 for new PACKAGE_VERSION increases.
-%define release 1
+%define release 3
# Version number of oldest elfutils release that works with systemtap.
%define elfutils_version 0.127
@@ -49,7 +49,7 @@ BuildRequires: sqlite-devel
Requires: sqlite
%endif
%if %{with_crash}
-BuildRequires: crash-devel
+BuildRequires: crash-devel zlib-devel
%endif
# Requires: kernel-devel
# or is that kernel-smp-devel? kernel-hugemem-devel?
@@ -144,8 +144,8 @@ cd ..
%configure %{?elfutils_config} %{sqlite_config} %{crash_config}
make %{?_smp_mflags}
-# Fix paths in the example scripts
-find examples -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
+# Fix paths in the example & testsuite scripts
+find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
# To avoid perl dependency, make perl sample script non-executable
chmod -x examples/samples/kmalloc-top
@@ -208,6 +208,10 @@ exit 0
%changelog
+* Fri Feb 1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
+- Add zlib-devel to buildreq; missing from crash-devel
+- Process testsuite .stp files for #!stap->#!/usr/bin/stap
+
* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
- Add crash-devel buildreq to build staplog.so crash(8) module.
- Many robustness & functionality improvements: