]> sourceware.org Git - systemtap.git/commitdiff
Make the stap-prep script available in the RPM.
authorWilliam Cohen <wcohen@redhat.com>
Fri, 12 Mar 2010 19:00:38 +0000 (14:00 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Fri, 12 Mar 2010 19:17:11 +0000 (14:17 -0500)
stap-prep [moved from doc/SystemTap_Beginners_Guide/en-US/extras/stapprep.sh with 100% similarity]
systemtap.spec

index d29dac5f187d0946b16f390cc03db7e588fbe67c..670693ccddd2f0bdb6cf067a652bb22d837e7b7f 100644 (file)
@@ -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/*
This page took 0.031517 seconds and 5 git commands to generate.