summaryrefslogtreecommitdiffstats
path: root/systemtap.spec.in
diff options
context:
space:
mode:
authordsmith <dsmith>2007-02-26 20:41:58 +0000
committerdsmith <dsmith>2007-02-26 20:41:58 +0000
commit2a4b42eb739e6dd9db1588712d8ca5b89b4ecbe0 (patch)
treee6be7b680bd7e66e195719856c2a43d202ebe615 /systemtap.spec.in
parent0f9f1507cc4aab2321ff259a780ebb715ca280dc (diff)
downloadsystemtap-steved-2a4b42eb739e6dd9db1588712d8ca5b89b4ecbe0.tar.gz
systemtap-steved-2a4b42eb739e6dd9db1588712d8ca5b89b4ecbe0.tar.xz
systemtap-steved-2a4b42eb739e6dd9db1588712d8ca5b89b4ecbe0.zip
2007-02-26 David Smith <dsmith@redhat.com>
* Makefile.am: Removed 'update-examples' target. Moved functionality to systemtap.spec.in. * Makefile.in: Regenerated from Makefile.am. * systemtap.spec.in: Fixes paths in the example scripts directly.
Diffstat (limited to 'systemtap.spec.in')
-rw-r--r--systemtap.spec.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/systemtap.spec.in b/systemtap.spec.in
index d5a6efcf..789fe25d 100644
--- a/systemtap.spec.in
+++ b/systemtap.spec.in
@@ -103,7 +103,9 @@ cd ..
%configure %{?elfutils_config}
make %{?_smp_mflags}
-make update-examples
+
+# Fix paths in the example scripts
+find examples -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
%install
rm -rf ${RPM_BUILD_ROOT}
@@ -145,6 +147,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_bindir}/staprun
%changelog
+* Mon Feb 26 2007 David Smith <dsmith@redhat.com> - 0.5.13-1
+- Fixes systemtap path in example scripts.
+
* Mon Jan 1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
- Many changes, see NEWS file.