summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--systemtap.spec.in3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 47584424..ff13b4a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-05 David Smith <dsmith@redhat.com>
+
+ * systemtap.spec.in: Made example perl script non-executable so
+ that the systemtap rpm won't require perl.
+
2007-03-04 Frank Ch. Eigler <fche@redhat.com>
* stap.1.in, stapex.5.in, staprun.8.in: Tweak text to remove
diff --git a/systemtap.spec.in b/systemtap.spec.in
index a4e85730..cc770771 100644
--- a/systemtap.spec.in
+++ b/systemtap.spec.in
@@ -108,6 +108,9 @@ 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@'
+# To avoid perl dependency, make perl sample script non-executable
+chmod -x examples/samples/kmalloc-top
+
%install
rm -rf ${RPM_BUILD_ROOT}
make DESTDIR=$RPM_BUILD_ROOT install