summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfche <fche>2008-02-02 16:22:32 +0000
committerfche <fche>2008-02-02 16:22:32 +0000
commitd2995e6f6ec8475e1c6c0bb603da4244921ddec7 (patch)
tree0fb0e50c7e4dd5123a3d6f4ae2c40f4e6f63006f
parent2129d358c4aba84430a18f86309f2aa70a8fd123 (diff)
downloadsystemtap-steved-d2995e6f6ec8475e1c6c0bb603da4244921ddec7.tar.gz
systemtap-steved-d2995e6f6ec8475e1c6c0bb603da4244921ddec7.tar.xz
systemtap-steved-d2995e6f6ec8475e1c6c0bb603da4244921ddec7.zip
* rhel-inspired build fixes
* 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
-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: