From e01f00321a497dc2f585f420ecc99228ecea82e71f00b5e64177cf319dade994 Mon Sep 17 00:00:00 2001 From: Nicolas Morey-Chaisemartin Date: Wed, 6 Feb 2019 08:55:38 +0000 Subject: [PATCH] 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 --- _service | 2 +- prebuilt-pandoc.tgz | 4 ++-- rdma-core-21.0.a4b744d2cd6e.tar.gz | 3 --- rdma-core-22.1.0.2b42a75b60aa.tar.gz | 3 +++ rdma-core.changes | 6 +++++ rdma-core.spec | 35 ++++++++++++++++++++++++---- 6 files changed, 43 insertions(+), 10 deletions(-) delete mode 100644 rdma-core-21.0.a4b744d2cd6e.tar.gz create mode 100644 rdma-core-22.1.0.2b42a75b60aa.tar.gz diff --git a/_service b/_service index a9695cb..c474d44 100644 --- a/_service +++ b/_service @@ -8,7 +8,7 @@ @PARENT_TAG@.@TAG_OFFSET@.%h v(.*) \1 - a4b744d2cd6e5ccb0c9e60ebaf681184dadb6da0 + 2b42a75b60aacd6773d7198b4ef4f0e4aa0ceb86 suse/rdma-core.spec diff --git a/prebuilt-pandoc.tgz b/prebuilt-pandoc.tgz index ff74137..d974715 100644 --- a/prebuilt-pandoc.tgz +++ b/prebuilt-pandoc.tgz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:40a73b4d11715965806b0d7298f5ddac129fb0be830a708d5ccb459d794190b0 -size 23267 +oid sha256:2d9a2c99fc4f47b70de98c746c0020fdb0c7f5f170e3927e4ffc2b1a3ab9d403 +size 25783 diff --git a/rdma-core-21.0.a4b744d2cd6e.tar.gz b/rdma-core-21.0.a4b744d2cd6e.tar.gz deleted file mode 100644 index f5c0d0c..0000000 --- a/rdma-core-21.0.a4b744d2cd6e.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:860139ce8d5d058b32eabb72dc7a5c0d756e5a3ae858353a71a753efe9074f0d -size 1039446 diff --git a/rdma-core-22.1.0.2b42a75b60aa.tar.gz b/rdma-core-22.1.0.2b42a75b60aa.tar.gz new file mode 100644 index 0000000..64cd232 --- /dev/null +++ b/rdma-core-22.1.0.2b42a75b60aa.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9594649756e41e426f4b913d2f6553c257555b85e66105921d1439e3a47e80d3 +size 1168866 diff --git a/rdma-core.changes b/rdma-core.changes index 214fef7..7c62aaa 100644 --- a/rdma-core.changes +++ b/rdma-core.changes @@ -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 diff --git a/rdma-core.spec b/rdma-core.spec index 995e663..25e85f6 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -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