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. --- ChangeLog | 5 +++++ systemtap.spec.in | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 47584424..ff13b4a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-05 David Smith + + * systemtap.spec.in: Made example perl script non-executable so + that the systemtap rpm won't require perl. + 2007-03-04 Frank Ch. Eigler * 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 -- cgit