From c63a6b9dd5ca712c6b8ae170750e34ffe55a1a89 Mon Sep 17 00:00:00 2001 From: dsmith Date: Mon, 5 Mar 2007 20:41:28 +0000 Subject: 2007-03-05 David Smith * systemtap.spec.in: Made example perl script non-executable so that the systemtap rpm won't require perl. --- systemtap.spec.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'systemtap.spec.in') 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 -- cgit