summaryrefslogtreecommitdiffstats
path: root/systemtap.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'systemtap.spec.in')
-rw-r--r--systemtap.spec.in3
1 files changed, 3 insertions, 0 deletions
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