Accepting request 567620 from home:NMoreyChaisemartin:branches:science:HPC

- Drop obsolete libibcm.
  * Official upstream drop will be in v17
  * Drop now to avoid submitting libibcm to SLE15

OBS-URL: https://build.opensuse.org/request/show/567620
OBS-URL: https://build.opensuse.org/package/show/science:HPC/rdma-core?expand=0&rev=73
This commit is contained in:
Nicolas Morey-Chaisemartin 2018-01-19 16:21:55 +00:00 committed by Git OBS Bridge
parent 4d67f5d743
commit 9918c98b4c
4 changed files with 2895 additions and 23 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,6 @@ libibverbs
libibverbs1
libmlx4-1
libmlx5-1
libibcm1
libibumad3
librdmacm1
rdma-core-devel

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 19 10:05:18 UTC 2018 - nmoreychaisemartin@suse.com
- Drop obsolete libibcm.
* Official upstream drop will be in v17
* Drop now to avoid submitting libibcm to SLE15
-------------------------------------------------------------------
Thu Jan 4 11:41:20 UTC 2018 - nmoreychaisemartin@suse.com

View File

@ -26,14 +26,12 @@ License: GPL-2.0 or BSD-2-Clause
Group: Productivity/Networking/Other
%define verbs_so_major 1
%define ibcm_so_major 1
%define rdmacm_so_major 1
%define umad_so_major 3
%define mlx4_so_major 1
%define mlx5_so_major 1
%define verbs_lname libibverbs%{verbs_so_major}
%define ibcm_lname libibcm%{ibcm_so_major}
%define rdmacm_lname librdmacm%{rdmacm_so_major}
%define umad_lname libibumad%{umad_so_major}
%define mlx4_lname libmlx4-%{mlx4_so_major}
@ -50,6 +48,7 @@ Group: Productivity/Networking/Other
Url: https://github.com/linux-rdma/rdma-core
Source: rdma-core-%{version}%{git_ver}.tar.gz
Source1: baselibs.conf
Patch0: Remove-the-obsolete-libibcm-library.patch
BuildRequires: binutils
BuildRequires: cmake >= 2.8.11
BuildRequires: gcc
@ -124,7 +123,6 @@ Summary: RDMA core development libraries and headers
Group: Development/Libraries/C and C++
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{ibcm_lname} = %{version}-%{release}
Requires: %{rdmacm_lname} = %{version}-%{release}
Requires: %{umad_lname} = %{version}-%{release}
Requires: %{verbs_lname} = %{version}-%{release}
@ -137,9 +135,6 @@ Requires: rsocket = %{version}-%{release}
Provides: libibverbs-devel = %{version}-%{release}
Obsoletes: libibverbs-devel < %{version}-%{release}
Provides: libibcm-devel = %{version}-%{release}
Obsoletes: libibcm-devel < %{version}-%{release}
Provides: libibumad-devel = %{version}-%{release}
Obsoletes: libibumad-devel < %{version}-%{release}
Provides: librdmacm-devel = %{version}-%{release}
@ -257,14 +252,6 @@ Requires: %{name}%{?_isa} = %{version}
iwpmd provides a userspace service for iWarp drivers to claim
tcp ports through the standard socket interface.
%package -n %ibcm_lname
Summary: Userspace InfiniBand Connection Manager
Group: System/Libraries
%description -n %ibcm_lname
libibcm provides a userspace library that handles the majority of the low
level work required to open an RDMA connection between two machines.
%package -n %umad_lname
Summary: OpenFabrics Alliance InfiniBand Userspace Management Datagram library
Group: System/Libraries
@ -325,6 +312,7 @@ on those changes.
%prep
%setup -q -n %{name}-%{version}%{git_ver}
%patch0
%build
@ -409,9 +397,6 @@ rm -rf %{buildroot}/%{_sbindir}/srp_daemon.sh
%postun -n %mlx5_lname -p /sbin/ldconfig
%endif
%post -n %ibcm_lname -p /sbin/ldconfig
%postun -n %ibcm_lname -p /sbin/ldconfig
%post -n %umad_lname -p /sbin/ldconfig
%postun -n %umad_lname -p /sbin/ldconfig
@ -611,11 +596,6 @@ rm -rf %{buildroot}/%{_sbindir}/srp_daemon.sh
%{_mandir}/man8/iwpmd.*
%{_mandir}/man5/iwpmd.*
%files -n %ibcm_lname
%defattr(-,root,root)
%{_libdir}/libibcm*.so.*
%doc %{_docdir}/%{name}-%{version}/libibcm.md
%files -n %umad_lname
%defattr(-,root,root)
%{_libdir}/libibumad*.so.*