Hello community,

here is the log from the commit of package rdma-core.14979 for 
openSUSE:Leap:15.2:Update checked in at 2020-11-16 06:24:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/rdma-core.14979 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.rdma-core.14979.new.24930 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rdma-core.14979"

Mon Nov 16 06:24:46 2020 rev:1 rq:848219 version:27.1

Changes:
--------
New Changes file:

--- /dev/null   2020-11-12 01:11:43.462704170 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.rdma-core.14979.new.24930/rdma-core.changes
    2020-11-16 06:24:57.300404228 +0100
@@ -0,0 +1,557 @@
+-------------------------------------------------------------------
+Wed Oct 14 15:06:36 UTC 2020 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Move rxe_cfg to libibverbs-utils (bsc#1177699)
+
+-------------------------------------------------------------------
+Tue Apr 14 11:52:18 UTC 2020 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Update to v27.1
+  - Many bugfixes (memory leaks, use after free, etc.)
+
+-------------------------------------------------------------------
+Sat Feb 22 09:55:36 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- Eliminate the curl-mini trickery for Tumbleweed: curl-mini is
+  being eliminated in favor of cmake-mini: the original plan to
+  split the cycle at curl did not work out in the long run.
+
+-------------------------------------------------------------------
+Fri Jan 24 15:02:50 UTC 2020 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Add disable-rdma-interface-renaming.patch to disable interface renaming 
which causes
+  mvapich2 to fail (bsc#1161794)
+
+-------------------------------------------------------------------
+Fri Jan 10 07:40:35 UTC 2020 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Update to v27.0 (bsc#1160338)
+  - No release notes available
+- Dropped patches merged upstream:
+  - bnxt_re-lib-Add-remaining-pci-ids-for-gen-P5-devices.patch
+  - bnxt_re-lib-Recognize-additional-5750x-device-ID-s.patch
+- Add patches to support older HW (nes, cxgb3) that was dropped upstream
+  - Revert-Update-kernel-headers.patch
+  - Revert-libcxgb3-Remove-libcxgb3-from-rdma-core.patch
+  - Revert-libnes-Remove-libnes-from-rdma-core.patch
+
+-------------------------------------------------------------------
+Fri Dec 13 14:10:15 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Fix post scripts to work with systemd 244: udevadm has been moved
+  from /sbin to /usr/bin and systemd is dropping the compat links
+  now.
+
+-------------------------------------------------------------------
+Wed Dec 11 09:32:17 UTC 2019 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Remove file listed twice
+- Disable pyverbs build for older releases that do not have python3-Cython >= 
0.25
+
+-------------------------------------------------------------------
+Thu Nov 28 09:16:33 UTC 2019 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Add Broadcom fixes (bsc#1157891)
+  - bnxt_re-lib-Add-remaining-pci-ids-for-gen-P5-devices.patch
+  - bnxt_re-lib-Recognize-additional-5750x-device-ID-s.patch
+
+-------------------------------------------------------------------
+Mon Nov 25 15:59:01 UTC 2019 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Update to rdma-core v26.1 (jsc#SLE-8388, jsc#SLE-8394, jsc#SLE-8463, 
jsc#SLE-8399,
+   jsc#SLE-8254, jsc#SLE-9840, jsc#SLE-9763, jsc#SLE-9925, jsc#SLE-9846, 
jsc#SLE-9913,
+   jsc#SLE-9729, jsc#SLE-8666)
+
+-------------------------------------------------------------------
+Tue Nov 12 07:33:01 UTC 2019 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Add libefa1 to baselibs.conf
+- Fix baselibs.conf
+
+-------------------------------------------------------------------
+Wed Nov  6 23:09:09 UTC 2019 - Stefan BrĂ¼ns <[email protected]>
+
+- BuildRequire valgrind-client-headers instead of full valgrind-devel
+  where available.
+
+-------------------------------------------------------------------
+Wed Oct  2 06:37:21 UTC 2019 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Have rsocket conflicts with older librdmacm-tools (bsc#1137140)
+- Have librdmacm-utils obsolete and provide librdmacm-tools (bsc#1137138)
+
+-------------------------------------------------------------------
+Fri Sep  6 07:18:24 UTC 2019 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Update to rdma-core v25.1 (bsc#996146)
+  - No release notes available
+- Add rdma-core-rpmlintrc to hide non applicable rpmlint warnings
+
+-------------------------------------------------------------------
+Mon May 13 08:20:59 UTC 2019 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Update to rdma-core v23.1
+  - No release notes available
+- Replace prebuild-pandoc.sh by post_download.sh to patch the spec
+  file form upstream for OBS setup
+
+-------------------------------------------------------------------
+Fri Apr 19 06:08:06 UTC 2019 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Update to rdma-core v23
+  - No release notes available
+- Enable pyverbs package
+- Remove patches that were merged upstream
+  - Update-kernel-headers.patch
+  - bnxt_re-lib-Enable-Broadcom-s-57500-RoCE-adapter.patch
+
+
+-------------------------------------------------------------------
+Fri Mar  1 07:07:49 UTC 2019 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Add patches to enable Broadcom's 57500 RoCE adapter (bsc#1125651):
+  - Update-kernel-headers.patch
+  - bnxt_re-lib-Enable-Broadcom-s-57500-RoCE-adapter.patch
+
+-------------------------------------------------------------------
+Wed Feb  6 08:37:03 UTC 2019 - [email protected]
+
+- Update to rdma-core v22.1 (bsc#1104280)
+  * No release notes available
+
+-------------------------------------------------------------------
+Fri Nov 30 06:54:33 UTC 2018 - [email protected]
+
+- Update to rdma-core v21 (fate#325939, fate#326991)
+  * No release notes available
+
+-------------------------------------------------------------------
+Mon Oct 15 08:15:29 UTC 2018 - [email protected]
+
+- Update to rdma-core v20.1 (fate#325887, fate#325919, fate#326000)
+  * No release notes available
+- Drop patches merged upstream:
+  * suse-Add-recommends-for-rxe_cfg-requirements.patch
+     adds recommends for the relevant packages
+  * rxe-switch-to-iproute2-for-rxe_cfg.patch
+    switches to iproute2 commands
+
+-------------------------------------------------------------------
+Thu Aug  2 09:25:16 UTC 2018 - [email protected]
+
+- Add two patches for rxe_cfg
+  * suse-Add-recommends-for-rxe_cfg-requirements.patch
+     adds recommends for the relevant packages
+  * rxe-switch-to-iproute2-for-rxe_cfg.patch
+    switches to iproute2 commands
+
+-------------------------------------------------------------------
+Thu Jun 14 08:54:13 UTC 2018 - [email protected]
+
+- Remove pandoc BuildRequires
+  * Add prebuilt-pandoc.sh to pre-generate the man pages
+  * Add prebuilt-pandoc.tgz containing pre-generated man pages
+  * Extract man pages in the appropriate directory during build
+
+-------------------------------------------------------------------
+Tue Jun 12 10:40:32 UTC 2018 - [email protected]
+
+- Update to rdma-core v18.1
+  * Fix compilation issue with recent glibc
+- Drop Remove-the-obsolete-libibcm-library.patch and
+  umad-Do-not-check-for-umad-sysfs-files-in-umad_init.patch as they were
+  fixed upstream.
+
+-------------------------------------------------------------------
+Tue Jun 12 05:47:18 UTC 2018 - [email protected]
+
+- Update to rdma-core v16.5
+ * Backport fixes:
+   * buildilb: Fix -msse breakage on ARM builds
+   * buildlib: Use -msse if the compiler does not support target(sse) 
(bsc#1086910)
+   * suse: do not call %service rules on a template file (bsc#1093170)
+   * mlx5: Convert ah_attr static rate to mlx5 static rate
+   * ccan: Add array_size.h file
+   * iwpmd: Initialize address of sockaddr
+   * mlx5: Fix need_uuar_lock when there are no medium bfregs
+   * verbs: Fix wrong clean up flow in ibv_rc_pingpong
+   * Match kernel ABI to for 4.17 for 32 bit
+   * librdmacm: Set errno correctly if status is positive
+   * verbs: Remove bogus cq_fd
+   * verbs: Fix typo in copying IBV_FLOW_SPEC_UDP/TCP 'val'
+
+-------------------------------------------------------------------
+Thu Apr 26 08:27:29 UTC 2018 - [email protected]
+
+- Add umad-Do-not-check-for-umad-sysfs-files-in-umad_init.patch to fix
+  umad/ibstat support on RoCE hardware (bsc#1088441).
+
+-------------------------------------------------------------------
+Wed Mar 21 09:38:52 UTC 2018 - [email protected]
+
+- Add Provide/Obsolete for librdmacm in librdmacm1 (bsc#1086173)
+
+-------------------------------------------------------------------
+Tue Mar 13 15:53:51 UTC 2018 - [email protected]
+
+- Update to rdma-core v16.4 (bsc#1084456)
++++ 360 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.rdma-core.14979.new.24930/rdma-core.changes

New:
----
  Revert-Update-kernel-headers.patch
  Revert-libcxgb3-Remove-libcxgb3-from-rdma-core.patch
  Revert-libnes-Remove-libnes-from-rdma-core.patch
  _service
  baselibs.conf
  disable-rdma-interface-renaming.patch
  gen-pandoc.sh
  get_build.py
  post_download.sh
  prebuilt-pandoc.tgz
  rdma-core-27.1.0.ba66d565a860.tar.gz
  rdma-core-rpmlintrc
  rdma-core.changes
  rdma-core.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rdma-core.spec ++++++
++++ 886 lines (skipped)

++++++ Revert-Update-kernel-headers.patch ++++++
commit a53161ed3b4ed1502c9fa47e82bd79dec29714ad
Author: Nicolas Morey-Chaisemartin <[email protected]>
Date:   Fri Jan 10 09:24:53 2020 +0100

    Revert "Update kernel headers"
    
    This reverts commit c21a3cf5d9e4cef0904b4d47f1cb43be9efdbf90.

diff --git kernel-headers/CMakeLists.txt kernel-headers/CMakeLists.txt
index 2d0766dd1280..13624b22d81b 100644
--- kernel-headers/CMakeLists.txt
+++ kernel-headers/CMakeLists.txt
@@ -1,5 +1,6 @@
 publish_internal_headers(rdma
   rdma/bnxt_re-abi.h
+  rdma/cxgb3-abi.h
   rdma/cxgb4-abi.h
   rdma/efa-abi.h
   rdma/hns-abi.h
@@ -14,6 +15,7 @@ publish_internal_headers(rdma
   rdma/mlx5_user_ioctl_cmds.h
   rdma/mlx5_user_ioctl_verbs.h
   rdma/mthca-abi.h
+  rdma/nes-abi.h
   rdma/ocrdma-abi.h
   rdma/qedr-abi.h
   rdma/rdma_netlink.h
@@ -58,6 +60,7 @@ endfunction()
 # Transform the kernel ABIs used by the providers
 rdma_kernel_provider_abi(
   rdma/bnxt_re-abi.h
+  rdma/cxgb3-abi.h
   rdma/cxgb4-abi.h
   rdma/efa-abi.h
   rdma/hns-abi.h
@@ -66,6 +69,7 @@ rdma_kernel_provider_abi(
   rdma/mlx4-abi.h
   rdma/mlx5-abi.h
   rdma/mthca-abi.h
+  rdma/nes-abi.h
   rdma/ocrdma-abi.h
   rdma/qedr-abi.h
   rdma/rdma_user_rxe.h
diff --git kernel-headers/rdma/cxgb3-abi.h kernel-headers/rdma/cxgb3-abi.h
new file mode 100644
index 000000000000..85aed672f43e
--- /dev/null
+++ kernel-headers/rdma/cxgb3-abi.h
@@ -0,0 +1,82 @@
+/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR 
Linux-OpenIB) */
+/*
+ * Copyright (c) 2006 Chelsio, Inc. All rights reserved.
+ *
+ * This software is available to you under a choice of one of two
+ * licenses.  You may choose to be licensed under the terms of the GNU
+ * General Public License (GPL) Version 2, available from the file
+ * COPYING in the main directory of this source tree, or the
+ * OpenIB.org BSD license below:
+ *
+ *     Redistribution and use in source and binary forms, with or
+ *     without modification, are permitted provided that the following
+ *     conditions are met:
+ *
+ *      - Redistributions of source code must retain the above
+ *        copyright notice, this list of conditions and the following
+ *        disclaimer.
+ *
+ *      - Redistributions in binary form must reproduce the above
+ *        copyright notice, this list of conditions and the following
+ *        disclaimer in the documentation and/or other materials
+ *        provided with the distribution.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+#ifndef CXGB3_ABI_USER_H
+#define CXGB3_ABI_USER_H
+
+#include <linux/types.h>
+
+#define IWCH_UVERBS_ABI_VERSION        1
+
+/*
+ * Make sure that all structs defined in this file remain laid out so
+ * that they pack the same way on 32-bit and 64-bit architectures (to
+ * avoid incompatibility between 32-bit userspace and 64-bit kernels).
+ * In particular do not use pointer types -- pass pointers in __aligned_u64
+ * instead.
+ */
+struct iwch_create_cq_req {
+       __aligned_u64 user_rptr_addr;
+};
+
+struct iwch_create_cq_resp_v0 {
+       __aligned_u64 key;
+       __u32 cqid;
+       __u32 size_log2;
+};
+
+struct iwch_create_cq_resp {
+       __aligned_u64 key;
+       __u32 cqid;
+       __u32 size_log2;
+       __u32 memsize;
+       __u32 reserved;
+};
+
+struct iwch_create_qp_resp {
+       __aligned_u64 key;
+       __aligned_u64 db_key;
+       __u32 qpid;
+       __u32 size_log2;
+       __u32 sq_size_log2;
+       __u32 rq_size_log2;
+};
+
+struct iwch_reg_user_mr_resp {
+       __u32 pbl_addr;
+};
+
+struct iwch_alloc_pd_resp {
+       __u32 pdid;
+};
+
+#endif /* CXGB3_ABI_USER_H */
diff --git kernel-headers/rdma/nes-abi.h kernel-headers/rdma/nes-abi.h
new file mode 100644
index 000000000000..f80495baa969
--- /dev/null
+++ kernel-headers/rdma/nes-abi.h
@@ -0,0 +1,115 @@
+/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR 
Linux-OpenIB) */
+/*
+ * Copyright (c) 2006 - 2011 Intel Corporation.  All rights reserved.
+ * Copyright (c) 2005 Topspin Communications.  All rights reserved.
+ * Copyright (c) 2005 Cisco Systems.  All rights reserved.
+ * Copyright (c) 2005 Open Grid Computing, Inc. All rights reserved.
+ *
+ * This software is available to you under a choice of one of two
+ * licenses.  You may choose to be licensed under the terms of the GNU
+ * General Public License (GPL) Version 2, available from the file
+ * COPYING in the main directory of this source tree, or the
+ * OpenIB.org BSD license below:
+ *
+ *     Redistribution and use in source and binary forms, with or
+ *     without modification, are permitted provided that the following
+ *     conditions are met:
+ *
+ *      - Redistributions of source code must retain the above
+ *        copyright notice, this list of conditions and the following
+ *        disclaimer.
+ *
+ *      - Redistributions in binary form must reproduce the above
+ *        copyright notice, this list of conditions and the following
+ *        disclaimer in the documentation and/or other materials
+ *        provided with the distribution.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ */
+
+#ifndef NES_ABI_USER_H
+#define NES_ABI_USER_H
+
+#include <linux/types.h>
+
+#define NES_ABI_USERSPACE_VER 2
+#define NES_ABI_KERNEL_VER    2
+
+/*
+ * Make sure that all structs defined in this file remain laid out so
+ * that they pack the same way on 32-bit and 64-bit architectures (to
+ * avoid incompatibility between 32-bit userspace and 64-bit kernels).
+ * In particular do not use pointer types -- pass pointers in __u64
+ * instead.
+ */
+
+struct nes_alloc_ucontext_req {
+       __u32 reserved32;
+       __u8  userspace_ver;
+       __u8  reserved8[3];
+};
+
+struct nes_alloc_ucontext_resp {
+       __u32 max_pds; /* maximum pds allowed for this user process */
+       __u32 max_qps; /* maximum qps allowed for this user process */
+       __u32 wq_size; /* size of the WQs (sq+rq) allocated to the mmaped area 
*/
+       __u8  virtwq;  /* flag to indicate if virtual WQ are to be used or not 
*/
+       __u8  kernel_ver;
+       __u8  reserved[2];
+};
+
+struct nes_alloc_pd_resp {
+       __u32 pd_id;
+       __u32 mmap_db_index;
+};
+
+struct nes_create_cq_req {
+       __aligned_u64 user_cq_buffer;
+       __u32 mcrqf;
+       __u8 reserved[4];
+};
+
+struct nes_create_qp_req {
+       __aligned_u64 user_wqe_buffers;
+       __aligned_u64 user_qp_buffer;
+};
+
+enum iwnes_memreg_type {
+       IWNES_MEMREG_TYPE_MEM = 0x0000,
+       IWNES_MEMREG_TYPE_QP = 0x0001,
+       IWNES_MEMREG_TYPE_CQ = 0x0002,
+       IWNES_MEMREG_TYPE_MW = 0x0003,
+       IWNES_MEMREG_TYPE_FMR = 0x0004,
+       IWNES_MEMREG_TYPE_FMEM = 0x0005,
+};
+
+struct nes_mem_reg_req {
+       __u32 reg_type; /* indicates if id is memory, QP or CQ */
+       __u32 reserved;
+};
+
+struct nes_create_cq_resp {
+       __u32 cq_id;
+       __u32 cq_size;
+       __u32 mmap_db_index;
+       __u32 reserved;
+};
+
+struct nes_create_qp_resp {
+       __u32 qp_id;
+       __u32 actual_sq_size;
+       __u32 actual_rq_size;
+       __u32 mmap_sq_db_index;
+       __u32 mmap_rq_db_index;
+       __u32 nes_drv_opt;
+};
+
+#endif /* NES_ABI_USER_H */
++++++ Revert-libcxgb3-Remove-libcxgb3-from-rdma-core.patch ++++++
++++ 3148 lines (skipped)

++++++ Revert-libnes-Remove-libnes-from-rdma-core.patch ++++++
++++ 2376 lines (skipped)

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="scm">git</param>
    <param name="url">https://github.com/linux-rdma/rdma-core.git</param>
    <param name="package-meta">no</param>
    <param name="exclude">.git</param>
    <param name="filename">rdma-core</param>
    <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
    <param name="versionrewrite-pattern">v(.*)</param>
    <param name="versionrewrite-replacement">\1</param>
    <param name="revision">ba66d565a860c2bed39f6a60fb53285b871522c9</param>
        <param name="extract">suse/rdma-core.spec</param>
  </service>
  <service name="recompress" mode="disabled">
    <param name="file">*rdma-core*.tar</param>
    <param name="compression">gz</param>
  </service>
</services>
++++++ baselibs.conf ++++++
libibverbs
 obsoletes "libcxgb3-rdmav2-<targettype> < <version>"
 obsoletes "libcxgb4-rdmav2-<targettype> < <version>"
 obsoletes "libefa-rdmav2-<targettype> < <version>"
 obsoletes "libhfi1verbs-rdmav2-<targettype> < <version>"
 obsoletes "libi40iw-rdmav2-<targettype> < <version>"
 obsoletes "libipathverbs-rdmav2-<targettype> < <version>"
 obsoletes "libmlx4-rdmav2-<targettype> < <version>"
 obsoletes "libmlx5-rdmav2-<targettype> < <version>"
 obsoletes "libmthca-rdmav2-<targettype> < <version>"
 obsoletes "libnes-rdmav2-<targettype> < <version>"
 obsoletes "libocrdma-rdmav2-<targettype> < <version>"
 obsoletes "librxe-rdmav2-<targettype> < <version>"
 targetarch i586 requires "libefa1-<targettype> = <version>"
 targetarch i586 requires "libmlx4-1-<targettype> = <version>"
 targetarch i586 requires "libmlx5-1-<targettype> = <version>"
libibverbs1
 requires "libibverbs-<targettype> = <version>"
libefa1
libmlx4-1
libmlx5-1
libibumad3
libibmad5
librdmacm1
 obsoletes "librdmacm-<targettype> < <version>"
 provides "librdmacm-<targettype> = <version>"
rdma-core-devel
 obsoletes "libibverbs-devel-<targettype> < <version>"
 obsoletes "libibumad-devel-<targettype> < <version>"
 obsoletes "librdmacm-devel-<targettype> < <version>"
 obsoletes "ibacm-devel-<targettype> < <version>"
 obsoletes "infiniband-diags-devel-<targettype> < <version>"
 obsoletes "libibmad-devel-<targettype> < <version>"
 provides "libibverbs-devel-<targettype> = <version>"
 provides "libibumad-devel-<targettype> = <version>"
 provides "librdmacm-devel-<targettype> = <version>"
 provides "ibacm-devel-<targettype> = <version>"
 provides "infiniband-diags-devel-<targettype> = <version>"
 provides "libibmad-devel-<targettype> = <version>"
 requires "librdmacm1-<targettype> = <version>"
 requires "libibumad3-<targettype> = <version>"
 requires "libibverbs1-<targettype> = <version>"
 targetarch i586 requires "libefa1-<targettype> = <version>"
 targetarch i586 requires "libmlx4-1-<targettype> = <version>"
 targetarch i586 requires "libmlx5-1-<targettype> = <version>"
 requires "rsocket-<targettype> = <version>"
rsocket
++++++ disable-rdma-interface-renaming.patch ++++++
commit 435ad204d32f9f3b7a72a171e2e6d04a90ba9b6e
Author: Nicolas Morey-Chaisemartin <[email protected]>
Date:   Fri Jan 24 16:01:18 2020 +0100

    disable rdma interface renaming
    
    Causes issues with mvapich2
    
    Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]>

diff --git kernel-boot/rdma-persistent-naming.rules 
kernel-boot/rdma-persistent-naming.rules
index 9b61e1630d56..274d7c87727e 100644
--- kernel-boot/rdma-persistent-naming.rules
+++ kernel-boot/rdma-persistent-naming.rules
@@ -25,4 +25,4 @@
 #   Device type = RoCE
 #   mlx5_0 -> rocex525400c0fe123455
 #
-ACTION=="add", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FALLBACK"
+#ACTION=="add", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FALLBACK"
++++++ gen-pandoc.sh ++++++
#!/bin/bash -x

TARBALL=$(rpmspec --parse rdma-core.spec | grep Source: |  awk '{ print $NF}')
OUTDIR=$(tar tf $TARBALL | head -n 1)
PATCHES=$(rpmspec --parse rdma-core.spec | egrep '^Patch[0-9]+:' | awk '{ print 
$NF}')
BUILD_CMDS=$(python -c "
import rpm

spec = rpm.spec(\"rdma-core.spec\")
print '%s' % (getattr(spec, \"build\"),)
")

CMAKE_CMD=$(echo "$BUILD_CMDS" |  sed -e :a -e '/\\$/N; s/\\\n//; ta' | grep 
/bin/cmake | sed -e 's/-GNinja//' -e 's/$OLDPWD\/./../')


rm -Rf $OUTDIR
tar xf $TARBALL
cd $OUTDIR
for patch in $PATCHES; do
        patch -p0 < ../$patch || exit 1
done
mkdir build
cd build
eval $CMAKE_CMD || exit 1
make docs -j4 || exit 1
tar czf ../../prebuilt-pandoc.tgz pandoc-prebuilt
cd ../..
++++++ get_build.py ++++++
#!/usr/bin/python

import rpm

spec = rpm.spec("rdma-core.spec")
print '%s' % (getattr(spec, "build"),)
++++++ post_download.sh ++++++
#!/bin/bash
# Script to be run after updating the spec file from a newer release

# Enable pyverbs by default
sed -i -e 's/^%define with_pyverbs .*$/%if 0%{?sle_version} > 120400\n%define 
with_pyverbs 1\n%else\n%define with_pyverbs 0\n%endif/' rdma-core.spec
# Disable static
sed -i -e 's/^%define with_static .*$/%define with_static 0/' rdma-core.spec

# Fixup pandoc
# To remove a build dependency to pandoc in the core rings, prebuild the pandoc
# tarball and patch the spec file
bash gen-pandoc.sh || exit 1

EXTRA_SOURCES="Source2:        post_download.sh\nSource3:        
prebuilt-pandoc.tgz\nSource4:        rdma-core-rpmlintrc\nSource5:        
gen-pandoc.sh\nSource6:        get_build.py"
PANDOC_SETUP="#Extract prebuilt pandoc file in the buildlib directory\n(cd 
buildlib && tar xf %{S:3})"
sed -i -e '/Source1:/a '"$EXTRA_SOURCES" rdma-core.spec
sed -i -e '/^BuildRequires:  pandoc/d' rdma-core.spec
sed -i -e '/^BuildRequires:  python3-docutils/d' rdma-core.spec
sed -i -e '/^%setup /a '"$PANDOC_SETUP" rdma-core.spec
++++++ rdma-core-rpmlintrc ++++++
# This line is mandatory to access the configuration functions
from Config import *

addFilter("libibverbs.* devel-file-in-non-devel-package")
addFilter("libibverbs.* obsolete-not-provided")
addFilter("libibmad.* shared-lib-calls-exit")
addFilter("libibverbs-utils.* shlib-policy-missing-lib")
addFilter("libibverbs.* shlib-policy-missing-lib")
addFilter("librdmacm-utils.* shlib-policy-missing-lib")
addFilter("libibverbs1.* shlib-fixed-dependency")
addFilter("librdmacm1.* shlib-fixed-dependency")
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to