summaryrefslogtreecommitdiffstats
path: root/systemtap.spec.in
diff options
context:
space:
mode:
authordsmith <dsmith>2007-03-05 20:41:28 +0000
committerdsmith <dsmith>2007-03-05 20:41:28 +0000
commitc63a6b9dd5ca712c6b8ae170750e34ffe55a1a89 (patch)
tree123dcf2af17b6dde46d1325c4973e73285a1949a /systemtap.spec.in
parent5b3452c9ed1738f019b73bf6ffd3440084567325 (diff)
downloadsystemtap-steved-c63a6b9dd5ca712c6b8ae170750e34ffe55a1a89.tar.gz
systemtap-steved-c63a6b9dd5ca712c6b8ae170750e34ffe55a1a89.tar.xz
systemtap-steved-c63a6b9dd5ca712c6b8ae170750e34ffe55a1a89.zip
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.
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