summaryrefslogtreecommitdiffstats
path: root/systemtap.spec.in
diff options
context:
space:
mode:
authordsmith <dsmith>2008-02-27 15:29:46 +0000
committerdsmith <dsmith>2008-02-27 15:29:46 +0000
commitbcdfb17df458f7a660fd079afbc46dc9e65a36d9 (patch)
treeeec6a32940b1eecae12072963036492680082b2e /systemtap.spec.in
parent1a0d290a889ed9ff1be24e4af6a39d1f9b501f13 (diff)
downloadsystemtap-steved-bcdfb17df458f7a660fd079afbc46dc9e65a36d9.tar.gz
systemtap-steved-bcdfb17df458f7a660fd079afbc46dc9e65a36d9.tar.xz
systemtap-steved-bcdfb17df458f7a660fd079afbc46dc9e65a36d9.zip
2008-02-27 David Smith <dsmith@redhat.com>
PR5729 * systemtap.spec.in: Adds examples to the testsuite rpm so that systemtap.samples/examples.exp works correctly.
Diffstat (limited to 'systemtap.spec.in')
-rw-r--r--systemtap.spec.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/systemtap.spec.in b/systemtap.spec.in
index 789f219f..7d0579f2 100644
--- a/systemtap.spec.in
+++ b/systemtap.spec.in
@@ -145,6 +145,8 @@ chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
# Copy over the testsuite
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
+mkdir $RPM_BUILD_ROOT%{_datadir}/%{name}/src
+cp -rp examples $RPM_BUILD_ROOT%{_datadir}/%{name}/src
%clean
rm -rf ${RPM_BUILD_ROOT}
@@ -163,9 +165,9 @@ exit 0
%{_mandir}/man1/*
%{_mandir}/man5/*
-%dir %{_datadir}/systemtap
-%{_datadir}/systemtap/runtime
-%{_datadir}/systemtap/tapset
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/runtime
+%{_datadir}/%{name}/tapset
%if %{with_bundled_elfutils} || %{with_crash}
%dir %{_libdir}/%{name}
@@ -180,14 +182,15 @@ exit 0
%files runtime
%defattr(-,root,root)
%attr(4111,root,root) %{_bindir}/staprun
-%{_libexecdir}/systemtap
+%{_libexecdir}/%{name}
%{_mandir}/man8/*
%doc README AUTHORS NEWS COPYING
%files testsuite
%defattr(-,root,root)
-%{_datadir}/systemtap/testsuite
+%{_datadir}/%{name}/src
+%{_datadir}/%{name}/testsuite
%changelog