Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-05-21 10:21:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and      /work/SRC/openSUSE:Factory/.rdma-core.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rdma-core"

Tue May 21 10:21:38 2019 rev:30 rq:702609 version:23.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes      2019-04-21 
09:03:36.186566979 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.5148/rdma-core.changes    
2019-05-21 10:21:40.255608312 +0200
@@ -1,0 +2,8 @@
+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
+
+-------------------------------------------------------------------

Old:
----
  prebuild-pandoc.sh
  rdma-core-23.0.43adee5e3196.tar.gz

New:
----
  post_download.sh
  rdma-core-23.1.0.352dd809dde8.tar.gz

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

Other differences:
------------------
++++++ rdma-core.spec ++++++
--- /var/tmp/diff_new_pack.mH7DCz/_old  2019-05-21 10:21:41.119608136 +0200
+++ /var/tmp/diff_new_pack.mH7DCz/_new  2019-05-21 10:21:41.123608135 +0200
@@ -18,12 +18,12 @@
 
 %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: 1}
+%define with_static 0
+%define with_pyverbs 1
 
-%define         git_ver .43adee5e3196
+%define         git_ver .0.352dd809dde8
 Name:           rdma-core
-Version:        23.0
+Version:        23.1
 Release:        0
 Summary:        RDMA core userspace libraries and daemons
 License:        GPL-2.0-only OR BSD-2-Clause
@@ -52,7 +52,7 @@
 Url:            https://github.com/linux-rdma/rdma-core
 Source:         rdma-core-%{version}%{git_ver}.tar.gz
 Source1:        baselibs.conf
-Source2:        prebuild-pandoc.sh
+Source2:        post_download.sh
 Source3:        prebuilt-pandoc.tgz
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
@@ -218,7 +218,6 @@
 %description -n %verbs_lname
 This package contains the ibverbs runtime library.
 
-%if 0%{?dma_coherent}
 %package -n %mlx4_lname
 Summary:        MLX4 runtime library
 Group:          System/Libraries
@@ -232,7 +231,6 @@
 
 %description -n %mlx5_lname
 This package contains the mlx5 runtime library.
-%endif
 
 %package -n     libibverbs-utils
 Summary:        Examples for the libibverbs library
@@ -331,7 +329,6 @@
 hostname changes and updates the Node Description of the rdma devices based
 on those changes.
 
-%if %{with_pyverbs}
 %package -n python3-pyverbs
 Summary:        Python3 API over IB verbs
 Group:          Development/Languages/Python
@@ -339,9 +336,10 @@
 %description -n python3-pyverbs
 Pyverbs is a Cython-based Python API over libibverbs, providing an
 easy, object-oriented access to IB verbs.
-%endif
 
 %prep
+# Make sure LTO is disable as rdma-core fails to compile with LTO enabled
+%define _lto_cflags %{nil}
 %setup -q -n  %{name}-%{version}%{git_ver}
 #Extract prebuilt pandoc file in the buildlib directory
 (cd buildlib && tar xf %{S:3})
@@ -400,7 +398,6 @@
 %global dracutlibdir %%{_sysconfdir}/dracut.conf.d
 %global sysmodprobedir %%{_sysconfdir}/modprobe.d
 
-mkdir -p %{buildroot}%{_libexecdir}/udev/rules.d
 mkdir -p %{buildroot}%{_udevrulesdir}
 mkdir -p %{buildroot}%{dracutlibdir}/modules.d/05rdma
 mkdir -p %{buildroot}%{sysmodprobedir}
@@ -436,13 +433,11 @@
 %post -n %verbs_lname -p /sbin/ldconfig
 %postun -n %verbs_lname -p /sbin/ldconfig
 
-%if 0%{?dma_coherent}
 %post -n %mlx4_lname -p /sbin/ldconfig
 %postun -n %mlx4_lname -p /sbin/ldconfig
 
 %post -n %mlx5_lname -p /sbin/ldconfig
 %postun -n %mlx5_lname -p /sbin/ldconfig
-%endif
 
 %post -n %umad_lname -p /sbin/ldconfig
 %postun -n %umad_lname -p /sbin/ldconfig
@@ -522,12 +517,12 @@
 %dir %{_sysconfdir}/rdma
 %dir %{_sysconfdir}/rdma/modules
 %dir %{_docdir}/%{name}-%{version}
-%dir %{_libexecdir}/udev
-%dir %{_libexecdir}/udev/rules.d
+%dir %{_udevrulesdir}
 %dir %{_sysconfdir}/udev
 %dir %{_sysconfdir}/udev/rules.d
 %dir %{_sysconfdir}/modprobe.d
 %doc %{_docdir}/%{name}-%{version}/README.md
+%doc %{_docdir}/%{name}-%{version}/udev.md
 %config(noreplace) %{_sysconfdir}/rdma/mlx4.conf
 %config(noreplace) %{_sysconfdir}/rdma/modules/infiniband.conf
 %config(noreplace) %{_sysconfdir}/rdma/modules/iwarp.conf
@@ -591,7 +586,6 @@
 %config(noreplace) %{_sysconfdir}/libibverbs.d/*.driver
 %doc %{_docdir}/%{name}-%{version}/libibverbs.md
 %doc %{_docdir}/%{name}-%{version}/rxe.md
-%doc %{_docdir}/%{name}-%{version}/udev.md
 %doc %{_docdir}/%{name}-%{version}/tag_matching.md
 %{_bindir}/rxe_cfg
 %{_mandir}/man7/rxe*
@@ -696,7 +690,7 @@
 %dir %{_sysconfdir}/rdma/modules
 %config(noreplace) %{_sysconfdir}/srp_daemon.conf
 %config(noreplace) %{_sysconfdir}/rdma/modules/srp_daemon.conf
-%{_libexecdir}/udev/rules.d/60-srp_daemon.rules
+%{_udevrulesdir}/60-srp_daemon.rules
 %{_libexecdir}/srp_daemon/start_on_all_ports
 %{_unitdir}/srp_daemon.service
 %{_unitdir}/[email protected]
@@ -716,7 +710,7 @@
 %{_sbindir}/rcrdma-ndd
 %{_unitdir}/rdma-ndd.service
 %{_mandir}/man8/rdma-ndd.8*
-%{_libexecdir}/udev/rules.d/60-rdma-ndd.rules
+%{_udevrulesdir}/60-rdma-ndd.rules
 
 %if %{with_pyverbs}
 %files -n python3-pyverbs

++++++ _service ++++++
--- /var/tmp/diff_new_pack.mH7DCz/_old  2019-05-21 10:21:41.151608130 +0200
+++ /var/tmp/diff_new_pack.mH7DCz/_new  2019-05-21 10:21:41.151608130 +0200
@@ -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">43adee5e3196fc1d1219fd1e66e54e7d18766d2d</param>
+    <param name="revision">352dd809dde8648949bb8ead9357dfe03bb8664e</param>
        <param name="extract">suse/rdma-core.spec</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ 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 .*$/%define with_pyverbs 1/' 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
TARBALL=$(rpmspec --parse rdma-core.spec | grep Source: |  awk '{ print $NF}')
OUTDIR=$(tar tf $TARBALL | head -n 1)

rm -Rf $OUTDIR
tar xf $TARBALL
cd $OUTDIR
mkdir build
cd build
cmake ..
make docs
tar czf ../../prebuilt-pandoc.tgz pandoc-prebuilt
cd ../..

EXTRA_SOURCES="Source2:        post_download.sh\nSource3:        
prebuilt-pandoc.tgz"
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 '/^%setup /a '"$PANDOC_SETUP" rdma-core.spec
++++++ prebuilt-pandoc.tgz ++++++


Reply via email to