summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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..670693cc 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%{_bindir}/stap-prep
+
# Copy over the testsuite
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
@@ -409,6 +412,7 @@ exit 0
%endif
%{_bindir}/stap
+%{_bindir}/stap-prep
%{_bindir}/stap-report
%{_mandir}/man1/*
%{_mandir}/man3/*