This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Adding provide to systemtap.spec for systemtap-testsuite rpm
- From: William Cohen <wcohen at redhat dot com>
- To: systemtap <systemtap at sources dot redhat dot com>
- Date: Thu, 31 Jan 2008 09:27:08 -0500
- Subject: Adding provide to systemtap.spec for systemtap-testsuite rpm
Some people may notice that systemtap-testsuite rpm does not install without
"--nodeps" because systemtaptestsuite requires "stap", but nothing provides it.
The one line patch add a provides to the systemtap rpm and allows the
systemtap-testsuite rpm to be installed normally via rpm.
Any comments about the patch? Go ahead and check it in? Or does anyone have
better ideas on how to eliminate this issue?
-Will
--- /home/wcohen/koji/systemtap/devel/systemtap.spec 2008-01-18 14:29:04.000000000 -0500
+++ /home/wcohen/rh-rpms/SPECS/systemtap.spec 2008-01-30 16:56:21.000000000 -0500
@@ -48,6 +48,8 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Provides: stap = %{version}-%{release}
+
Requires: kernel >= 2.6.9-11
BuildRequires: libcap-devel
%if %{sqlite}