Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2024-06-28 15:46:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and      /work/SRC/openSUSE:Factory/.rdma-core.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rdma-core"

Fri Jun 28 15:46:38 2024 rev:64 rq:1183206 version:52.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes      2024-02-15 
20:59:36.934337972 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.18349/rdma-core.changes   
2024-06-28 15:47:09.758256913 +0200
@@ -1,0 +2,8 @@
+Tue Jun 25 12:53:30 UTC 2024 - Nicolas Morey <nicolas.mo...@suse.com>
+
+- Update to rdma-core v52.0
+  - No release notes available
+- Add upstream patch Added-suffix-libdrm-to-CMakeLists.txt-for-drm.patch
+  to fix libdrm detection.
+
+-------------------------------------------------------------------

Old:
----
  rdma-core-49.1.0.8847c327b89c.tar.gz

New:
----
  Added-suffix-libdrm-to-CMakeLists.txt-for-drm.patch
  rdma-core-52.0.0.aa4e3a80d4b3.tar.gz

BETA DEBUG BEGIN:
  New:  - No release notes available
- Add upstream patch Added-suffix-libdrm-to-CMakeLists.txt-for-drm.patch
  to fix libdrm detection.
BETA DEBUG END:

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

Other differences:
------------------
++++++ rdma-core.spec ++++++
--- /var/tmp/diff_new_pack.TZ3H6n/_old  2024-06-28 15:47:16.390499545 +0200
+++ /var/tmp/diff_new_pack.TZ3H6n/_new  2024-06-28 15:47:16.398499838 +0200
@@ -30,15 +30,16 @@
 %define _modprobedir /lib/modprobe.d
 %endif
 
-%define         git_ver .0.8847c327b89c
+%define         git_ver .0.aa4e3a80d4b3
 Name:           rdma-core
-Version:        49.1
+Version:        52.0
 Release:        0
 Summary:        RDMA core userspace libraries and daemons
 License:        BSD-2-Clause OR GPL-2.0-only
 Group:          Productivity/Networking/Other
 
 %define efa_so_major    1
+%define hns_so_major    1
 %define verbs_so_major  1
 %define rdmacm_so_major 1
 %define umad_so_major   3
@@ -49,6 +50,7 @@
 %define mad_major       5
 
 %define  efa_lname    libefa%{efa_so_major}
+%define  hns_lname    libhns%{hns_so_major}
 %define  verbs_lname  libibverbs%{verbs_so_major}
 %define  rdmacm_lname librdmacm%{rdmacm_so_major}
 %define  umad_lname   libibumad%{umad_so_major}
@@ -76,6 +78,7 @@
 Source6:        get_build.py
 Patch0:         disable-rdma-interface-renaming.patch
 Patch1:         kernel-boot-do-not-load-module-unsupported-on-s390.patch
+Patch2:         Added-suffix-libdrm-to-CMakeLists.txt-for-drm.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -90,6 +93,7 @@
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
 %if %{with_pyverbs}
+BuildRequires:  libdrm-devel
 BuildRequires:  python3-Cython
 BuildRequires:  python3-devel
 %endif
@@ -168,6 +172,7 @@
 Requires:       %{verbs_lname} = %{version}-%{release}
 %if 0%{?dma_coherent}
 Requires:       %{efa_lname} = %{version}-%{release}
+Requires:       %{hns_lname} = %{version}-%{release}
 Requires:       %{mana_lname} = %{version}-%{release}
 Requires:       %{mlx4_lname} = %{version}-%{release}
 Requires:       %{mlx5_lname} = %{version}-%{release}
@@ -209,6 +214,7 @@
 Obsoletes:      libcxgb4-rdmav2 < %{version}-%{release}
 Obsoletes:      libefa-rdmav2 < %{version}-%{release}
 Obsoletes:      libhfi1verbs-rdmav2 < %{version}-%{release}
+Obsoletes:      libhns-rdmav2 < %{version}-%{release}
 Obsoletes:      libipathverbs-rdmav2 < %{version}-%{release}
 Obsoletes:      libmana-rdmav2 < %{version}-%{release}
 Obsoletes:      libmlx4-rdmav2 < %{version}-%{release}
@@ -218,6 +224,7 @@
 Obsoletes:      librxe-rdmav2 < %{version}-%{release}
 %if 0%{?dma_coherent}
 Requires:       %{efa_lname} = %{version}-%{release}
+Requires:       %{hns_lname} = %{version}-%{release}
 Requires:       %{mana_lname} = %{version}-%{release}
 Requires:       %{mlx4_lname} = %{version}-%{release}
 Requires:       %{mlx5_lname} = %{version}-%{release}
@@ -237,7 +244,7 @@
 - libcxgb4: Chelsio T4 iWARP HCA
 - libefa: Amazon Elastic Fabric Adapter
 - libhfi1: Intel Omni-Path HFI
-- libhns: HiSilicon Hip06 SoC
+- libhns: HiSilicon Hip08+ SoC
 - libipathverbs: QLogic InfiniPath HCA
 - libirdma: Intel Ethernet Connection RDMA
 - libmana: Microsoft Azure Network Adapter
@@ -265,6 +272,13 @@
 %description -n %efa_lname
 This package contains the efa runtime library.
 
+%package -n %hns_lname
+Summary:        HNS runtime library
+Group:          System/Libraries
+
+%description -n %hns_lname
+This package contains the hns runtime library.
+
 %package -n %mana_lname
 Summary:        MANA runtime library
 Group:          System/Libraries
@@ -430,6 +444,7 @@
 %ifarch s390 s390x
 %patch -P 1
 %endif
+%patch -P 2
 
 %build
 
@@ -524,6 +539,9 @@
 %post -n %efa_lname -p /sbin/ldconfig
 %postun -n %efa_lname -p /sbin/ldconfig
 
+%post -n %hns_lname -p /sbin/ldconfig
+%postun -n %hns_lname -p /sbin/ldconfig
+
 %post -n %mana_lname -p /sbin/ldconfig
 %postun -n %mana_lname -p /sbin/ldconfig
 
@@ -684,10 +702,12 @@
 %{_mandir}/man7/rdma_cm.*
 %if 0%{?dma_coherent}
 %{_mandir}/man3/efadv*
+%{_mandir}/man3/hnsdv*
 %{_mandir}/man3/manadv*
 %{_mandir}/man3/mlx5dv*
 %{_mandir}/man3/mlx4dv*
 %{_mandir}/man7/efadv*
+%{_mandir}/man7/hnsdv*
 %{_mandir}/man7/manadv*
 %{_mandir}/man7/mlx5dv*
 %{_mandir}/man7/mlx4dv*
@@ -716,6 +736,10 @@
 %files -n %efa_lname
 %{_libdir}/libefa*.so.*
 
+%files -n %hns_lname
+%defattr(-,root,root)
+%{_libdir}/libhns*.so.*
+
 %files -n %mana_lname
 %{_libdir}/libmana*.so.*
 

++++++ Added-suffix-libdrm-to-CMakeLists.txt-for-drm.patch ++++++
commit 11a51f8b05dc6c8f8ffc379080074919905b2fea
Author: Hector Martinez-Seara <hse...@gmail.com>
Date:   Tue Jun 25 09:17:39 2024 +0200

    Added suffix libdrm to CMakeLists.txt for drm
    
    [ Upstream commit e85647f7df194aa2e3b534a959decf4037fc2835 ]
    
    Cannonical libdrm package installation results in headers installed at
    `\usr\include\libdrm`. The current CMakeLists.txt installation script
    search the headers only in `drm` suffix which is where headers are found
    in readhat base distros. I propose to add also the cannonical path
    `libdrm` also used in distros like archlinux.
    
    Signed-off-by: Hector Martinez-Seara <hse...@gmail.com>
    Signed-off-by: Nicolas Morey <nmo...@suse.com>

diff --git CMakeLists.txt CMakeLists.txt
index 1bec68d007d4..ebd6b4b16284 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -559,7 +559,7 @@ RDMA_DoFixup("${SYSTEMD_FOUND}" "systemd/sd-daemon.h")
 # drm headers
 
 # Check if the headers have been installed by kernel-headers
-find_path(DRM_INCLUDE_DIRS "drm.h" PATH_SUFFIXES "drm")
+find_path(DRM_INCLUDE_DIRS "drm.h" PATH_SUFFIXES "drm" "libdrm")
 
 # Alternatively the headers could have been installed by libdrm
 if (NOT DRM_INCLUDE_DIRS)

++++++ _service ++++++
--- /var/tmp/diff_new_pack.TZ3H6n/_old  2024-06-28 15:47:16.718511546 +0200
+++ /var/tmp/diff_new_pack.TZ3H6n/_new  2024-06-28 15:47:16.758513009 +0200
@@ -1,5 +1,5 @@
 <services>
-  <service name="tar_scm" mode="disabled">
+  <service name="tar_scm" mode="manual">
     <param name="scm">git</param>
     <param name="url">https://github.com/linux-rdma/rdma-core.git</param>
     <param name="package-meta">no</param>
@@ -8,10 +8,10 @@
     <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="versionrewrite-replacement">\1</param>
-    <param name="revision">8847c327b89cdf4fcd9cf411355a6ccd12e8a054</param>
+    <param name="revision">aa4e3a80d4b3f268287214fb74ea8ec54e484cf2</param>
        <param name="extract">suse/rdma-core.spec</param>
   </service>
-  <service name="recompress" mode="disabled">
+  <service name="recompress" mode="manual">
     <param name="file">*rdma-core*.tar</param>
     <param name="compression">gz</param>
   </service>

++++++ gen-pandoc.sh ++++++
--- /var/tmp/diff_new_pack.TZ3H6n/_old  2024-06-28 15:47:16.970520764 +0200
+++ /var/tmp/diff_new_pack.TZ3H6n/_new  2024-06-28 15:47:16.998521789 +0200
@@ -12,17 +12,21 @@
 
 CMAKE_CMD=$(echo "$BUILD_CMDS" |  sed -e :a -e '/\\$/N; s/\\\n//; ta' | grep 
/bin/cmake | sed -e 's/-GNinja//' -e 's/$OLDPWD\/./../')
 
+TMPDIR=$(mktemp -d)
+CURDIR=$(pwd)
 
+cd $TMPDIR
 rm -Rf $OUTDIR
-tar xf $TARBALL
+tar xf $CURDIR/$TARBALL
 cd $OUTDIR
 for patch in $PATCHES; do
-       patch -p0 < ../$patch || exit 1
+       patch -p0 < $CURDIR/$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 ../..
+tar czf $CURDIR/prebuilt-pandoc.tgz pandoc-prebuilt
+cd $CURDIR/
+rm -Rf $TMPDIR
 

++++++ prebuilt-pandoc.tgz ++++++
++++ 12272 lines of diff (skipped)

++++++ rdma-core-49.1.0.8847c327b89c.tar.gz -> 
rdma-core-52.0.0.aa4e3a80d4b3.tar.gz ++++++
++++ 73410 lines of diff (skipped)

Reply via email to