+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.
+
2008-02-26 Dave Brolley <brolley@redhat.com>
PR5018
# 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}
%{_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}
%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