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

- Update to rdma-core v22.1 (bsc#1104280)
  * No release notes available

OBS-URL: https://build.opensuse.org/request/show/672059
OBS-URL: https://build.opensuse.org/package/show/science:HPC/rdma-core?expand=0&rev=100
This commit is contained in:
Nicolas Morey-Chaisemartin 2019-02-06 08:55:38 +00:00 committed by Git OBS Bridge
parent a0a187f78e
commit e01f00321a
6 changed files with 43 additions and 10 deletions

View File

@ -8,7 +8,7 @@
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="revision">a4b744d2cd6e5ccb0c9e60ebaf681184dadb6da0</param>
<param name="revision">2b42a75b60aacd6773d7198b4ef4f0e4aa0ceb86</param>
<param name="extract">suse/rdma-core.spec</param>
</service>
<service name="recompress" mode="disabled">

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40a73b4d11715965806b0d7298f5ddac129fb0be830a708d5ccb459d794190b0
size 23267
oid sha256:2d9a2c99fc4f47b70de98c746c0020fdb0c7f5f170e3927e4ffc2b1a3ab9d403
size 25783

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:860139ce8d5d058b32eabb72dc7a5c0d756e5a3ae858353a71a753efe9074f0d
size 1039446

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9594649756e41e426f4b913d2f6553c257555b85e66105921d1439e3a47e80d3
size 1168866

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 6 08:37:03 UTC 2019 - nmoreychaisemartin@suse.com
- Update to rdma-core v22.1 (bsc#1104280)
* No release notes available
-------------------------------------------------------------------
Fri Nov 30 06:54:33 UTC 2018 - nmoreychaisemartin@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package rdma-core
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,10 +19,11 @@
%bcond_without systemd
# Do not build static libs by default.
%define with_static %{?_with_static: 1} %{?!_with_static: 0}
%define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: 0}
%define git_ver .0.a4b744d2cd6e
%define git_ver .0.2b42a75b60aa
Name: rdma-core
Version: 21
Version: 22.1
Release: 0
Summary: RDMA core userspace libraries and daemons
License: GPL-2.0-only OR BSD-2-Clause
@ -62,6 +63,10 @@ BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
%if %{with_pyverbs}
BuildRequires: python3-Cython
BuildRequires: python3-devel
%endif
%ifnarch s390 s390x
BuildRequires: valgrind-devel
%endif
@ -326,6 +331,14 @@ rdma-ndd is a system daemon which watches for rdma device changes and/or
hostname changes and updates the Node Description of the rdma devices based
on those changes.
%package -n python3-pyverbs
Summary: Python3 API over IB verbs
Group: Development/Languages/Python
%description -n python3-pyverbs
Pyverbs is a Cython-based Python API over libibverbs, providing an
easy, object-oriented access to IB verbs.
%prep
%setup -q -n %{name}-%{version}%{git_ver}
#Extract prebuilt pandoc file in the buildlib directory
@ -364,7 +377,16 @@ on those changes.
%if %{with_static}
-DENABLE_STATIC=1 \
%endif
%{EXTRA_CMAKE_FLAGS}
%{EXTRA_CMAKE_FLAGS} \
%if %{defined __python3}
-DPYTHON_EXECUTABLE:PATH=%{__python3} \
-DCMAKE_INSTALL_PYTHON_ARCH_LIB:PATH=%{python3_sitearch} \
%endif
%if %{with_pyverbs}
-DNO_PYVERBS=0
%else
-DNO_PYVERBS=1
%endif
%make_jobs
%install
@ -694,4 +716,9 @@ rm -rf %{buildroot}/%{_sbindir}/srp_daemon.sh
%{_mandir}/man8/rdma-ndd.8*
%{_libexecdir}/udev/rules.d/60-rdma-ndd.rules
%if %{with_pyverbs}
%files -n python3-pyverbs
%{python3_sitearch}/pyverbs
%endif
%changelog