[ofa-general] [PATCH] opensm/opensm.spec.in: add Obsoletes rule
Sasha Khapyorsky
sashak at voltaire.com
Sat Jan 19 09:49:30 PST 2008
This addresses bug#852 and adds Obsoletes rpm rule for opensm-libs and
opensm-devel packages. which should help with upgrades (from OFED-1.2x).
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
opensm/opensm.spec.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/opensm/opensm.spec.in b/opensm/opensm.spec.in
index 20bcc7b..cde005f 100644
--- a/opensm/opensm.spec.in
+++ b/opensm/opensm.spec.in
@@ -46,6 +46,7 @@ Summary: Libraries from the opensm package
Group: System Environment/Libraries
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
+Obsoletes: libopensm, libosmcomp, libosmvendor
%description libs
Shared libraries that are part of the opensm package but are also used by
@@ -56,6 +57,7 @@ libraries can be installed to satisfy dependencies of other applications.
Summary: Development files for OpenSM
Group: System Environment/Libraries
Requires: %{name}-libs = %{version}-%{release} libibumad-devel
+Obsoletes: libopensm-devel, libosmcomp-devel, libosmvendor-devel
%description devel
Header files for OpenSM.
--
1.5.4.rc2.60.gb2e62
More information about the general
mailing list