summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2010-03-12 13:56:15 -0500
committerWilliam Cohen <wcohen@redhat.com>2010-03-12 14:17:10 -0500
commitb130d502990fc411ad1bf949f920eaff2081b0df (patch)
treee90b32326a1504cdca73e0db291f7c9aec9c1ed4
parent26b3faf93dc665f2cca51c91fbc0de68f5c2dd11 (diff)
downloadsystemtap-steved-b130d502990fc411ad1bf949f920eaff2081b0df.tar.gz
systemtap-steved-b130d502990fc411ad1bf949f920eaff2081b0df.tar.xz
systemtap-steved-b130d502990fc411ad1bf949f920eaff2081b0df.zip
Make stap-prep script available in the RPM
-rwxr-xr-xstap-prep (renamed from doc/SystemTap_Beginners_Guide/en-US/extras/stapprep.sh)0
-rw-r--r--systemtap.spec4
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/SystemTap_Beginners_Guide/en-US/extras/stapprep.sh b/stap-prep
index 3c6bf785..3c6bf785 100755
--- a/doc/SystemTap_Beginners_Guide/en-US/extras/stapprep.sh
+++ b/stap-prep
diff --git a/systemtap.spec b/systemtap.spec
index d29dac5f..6725d91d 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -275,6 +275,9 @@ find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1
# permissions back to 04111 in the %files section below.
chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
+#install the useful stap-prep script
+install -c -m 755 stap-prep $RPM_BUILD_ROOT/usr/bin/stap-prep
+
# Copy over the testsuite
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
@@ -410,6 +413,7 @@ exit 0
%{_bindir}/stap
%{_bindir}/stap-report
+%{_bindir}/stap-prep
%{_mandir}/man1/*
%{_mandir}/man3/*