commit a5d9b3065bdfb648f6dcc4926566c59bd3ae9b09
Author: Jakub Bogusz <[email protected]>
Date:   Wed Oct 27 05:39:09 2021 +0200

    - updated to 3.3.24 (new sonames)
    - updated link patch

 opensm-link.patch | 27 ++++++++++++++-------------
 opensm.spec       | 18 ++++++++++--------
 2 files changed, 24 insertions(+), 21 deletions(-)
---
diff --git a/opensm.spec b/opensm.spec
index 1e4f9dc..c1e9f08 100644
--- a/opensm.spec
+++ b/opensm.spec
@@ -1,12 +1,13 @@
 Summary:       OpenSM - InfiniBand Subnet Manager and Administrator
 Summary(pl.UTF-8):     OpenSM - zarzÄ…dca i administrator podsieci InfiniBand
 Name:          opensm
-Version:       3.3.20
-Release:       2
+Version:       3.3.24
+Release:       1
 License:       BSD or GPL v2
 Group:         Daemons
-Source0:       
https://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz
-# Source0-md5: ed615b4681e94ef2e13a5de773ab89a3
+#Source0Download: https://github.com/linux-rdma/opensm/releases
+Source0:       
https://github.com/linux-rdma/opensm/releases/download/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: e469eb593366b22cea7415a860886338
 Patch0:                %{name}-link.patch
 URL:           https://www.openfabrics.org/
 BuildRequires: autoconf >= 2.57
@@ -15,6 +16,7 @@ BuildRequires:        bison
 BuildRequires: flex
 BuildRequires: libibumad-devel
 BuildRequires: libtool
+BuildRequires: metis-devel
 BuildRequires: rpmbuild(macros) >= 1.228
 Requires(post,preun):  /sbin/chkconfig
 Requires:      %{name}-libs = %{version}-%{release}
@@ -92,7 +94,7 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir}/opensm,/etc/rc.d}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv -f $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
+%{__mv} $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -124,11 +126,11 @@ fi
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog README doc/*.txt
 %attr(755,root,root) %{_libdir}/libopensm.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libopensm.so.5
+%attr(755,root,root) %ghost %{_libdir}/libopensm.so.9
 %attr(755,root,root) %{_libdir}/libosmcomp.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libosmcomp.so.3
+%attr(755,root,root) %ghost %{_libdir}/libosmcomp.so.5
 %attr(755,root,root) %{_libdir}/libosmvendor.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libosmvendor.so.4
+%attr(755,root,root) %ghost %{_libdir}/libosmvendor.so.5
 %dir %{_sysconfdir}/opensm
 
 %files devel
diff --git a/opensm-link.patch b/opensm-link.patch
index 8a84822..6ae5bb8 100644
--- a/opensm-link.patch
+++ b/opensm-link.patch
@@ -1,21 +1,22 @@
---- opensm-3.3.7/libvendor/Makefile.am.orig    2009-05-11 11:11:31.000000000 
+0200
-+++ opensm-3.3.7/libvendor/Makefile.am 2010-09-13 08:37:48.732562329 +0200
-@@ -73,7 +73,7 @@
+--- opensm-3.3.24/libvendor/Makefile.am.orig   2021-10-25 22:37:54.888290162 
+0200
++++ opensm-3.3.24/libvendor/Makefile.am        2021-10-26 06:18:54.465277747 
+0200
+@@ -77,7 +77,7 @@ HDRS =$(COMM_HDRS) $(srcdir)/../include/
        $(srcdir)/../include/vendor/osm_pkt_randomizer.h
  endif
  
--libosmvendor_la_LIBADD = -L../complib -losmcomp
-+libosmvendor_la_LIBADD = $(top_builddir)/complib/libosmcomp.la
+-libosmvendor_la_LIBADD = -L../complib -losmcomp -L../libopensm -lopensm
++libosmvendor_la_LIBADD = $(top_builddir)/complib/libosmcomp.la 
$(top_builddir)/libopensm/libopensm.la
  libosmvendor_la_LDFLAGS = -version-info $(osmvendor_api_version) \
        -export-dynamic $(libosmvendor_version_script)
  libosmvendor_la_DEPENDENCIES = $(srcdir)/libosmvendor.map
---- opensm-3.3.9/opensm/Makefile.am.orig       2011-03-07 08:54:55.000000000 
+0100
-+++ opensm-3.3.9/opensm/Makefile.am    2011-04-20 20:23:55.123277689 +0200
-@@ -22,6 +22,7 @@
- libopensm_la_SOURCES = osm_log.c osm_mad_pool.c osm_helper.c
- libopensm_la_LDFLAGS = -version-info $(opensm_api_version) \
-       -export-dynamic $(libopensm_version_script)
+--- opensm-3.3.24/libopensm/Makefile.am.orig   2021-06-14 11:57:50.000000000 
+0200
++++ opensm-3.3.24/libopensm/Makefile.am        2021-10-26 06:20:25.341452095 
+0200
+@@ -21,7 +21,7 @@ opensm_api_version=$(shell grep LIBVERSI
+ 
+ libopensm_la_SOURCES = osm_log.c osm_helper.c
+ 
+-libopensm_la_LIBADD = -L../complib -losmcomp
 +libopensm_la_LIBADD = $(top_builddir)/complib/libosmcomp.la
+ libopensm_la_LDFLAGS = -version-info $(opensm_api_version) \
+        -export-dynamic $(libopensm_version_script)
  libopensm_la_DEPENDENCIES = $(srcdir)/libopensm.map
- 
- sbin_PROGRAMS = opensm
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opensm.git/commitdiff/a5d9b3065bdfb648f6dcc4926566c59bd3ae9b09

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to