This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]