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

- Update to rdma-core v31.3
  - No release notes available
- Fix patch to systemd-modules-load script (bsc#1178539)
- Drop srp_daemon-Fix-systemd-dependency.patch as it was merged upstream

OBS-URL: https://build.opensuse.org/request/show/871367
OBS-URL: https://build.opensuse.org/package/show/science:HPC/rdma-core?expand=0&rev=143
This commit is contained in:
Nicolas Morey-Chaisemartin 2021-02-17 12:21:43 +00:00 committed by Git OBS Bridge
parent d6a9f8881e
commit 0edae3384a
7 changed files with 18 additions and 39 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">526d559740c7599e1f2d533658797290d739554a</param>
<param name="revision">b7b09d2010465a3747a26468be178efee617bcda</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:2a92c8c50bc9cf7af22ca2537dffd3f287ebff25179b16304da2cb276d46a610
size 72660
oid sha256:9873ae9fe9b92754b4edc1c800a14f5f80d3fd5979adacef43c3ee1328c39129
size 83873

View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Feb 10 12:58:56 UTC 2021 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Update to rdma-core v31.3
- No release notes available
- Fix patch to systemd-modules-load script (bsc#1178539)
- Drop srp_daemon-Fix-systemd-dependency.patch as it was merged upstream
-------------------------------------------------------------------
Fri Jan 22 13:17:42 UTC 2021 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>

View File

@ -25,12 +25,12 @@
%define with_pyverbs 0
%endif
%define git_ver .0.526d559740c7
%define git_ver .0.b7b09d201046
Name: rdma-core
Version: 31.0
Version: 31.3
Release: 0
Summary: RDMA core userspace libraries and daemons
License: GPL-2.0-only OR BSD-2-Clause
License: BSD-2-Clause OR GPL-2.0-only
Group: Productivity/Networking/Other
%define efa_so_major 1
@ -70,7 +70,6 @@ Patch1: Revert-libcxgb3-Remove-libcxgb3-from-rdma-core.patch
Patch2: Revert-Update-kernel-headers.patch
Patch3: disable-rdma-interface-renaming.patch
Patch4: cxgb3-nes-fix-declaration-of-free_context.patch
Patch5: srp_daemon-Fix-systemd-dependency.patch
BuildRequires: binutils
BuildRequires: cmake >= 2.8.11
BuildRequires: gcc
@ -416,7 +415,6 @@ easy, object-oriented access to IB verbs.
%patch2
%patch3
%patch4
%patch5
%build
@ -443,7 +441,7 @@ easy, object-oriented access to IB verbs.
-DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
-DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
-DCMAKE_INSTALL_SYSTEMD_SERVICEDIR:PATH=%{_unitdir} \
-DCMAKE_INSTALL_SYSTEMD_BINDIR:PATH=%{_libexecdir}/systemd \
-DCMAKE_INSTALL_SYSTEMD_BINDIR:PATH=%{_prefix}/lib/systemd \
-DCMAKE_INSTALL_INITDDIR:PATH=%{_initddir} \
-DCMAKE_INSTALL_RUNDIR:PATH=%{_rundir} \
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}-%{version} \

View File

@ -1,27 +0,0 @@
commit b0847e590432e4143ad5ccd22c9239746ad71b91
Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Date: Mon Jan 11 10:51:01 2021 +0100
srp_daemon: Fix systemd dependency
remote-fs-pre.target is a passive target that is not loaded without someone
actively requiring it. Even is remote-fs.target is active.
This means that srp_daemon will not get started at boot
unless another service explicitely requires remote-fs-pre.target.
This solves the issue by having the srp_daemon service wanted by
the multi-user.target.
Fixes: 1c7fe513e3e9 (srp_daemon: One systemd service per port)
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
diff --git srp_daemon/srp_daemon.service.in srp_daemon/srp_daemon.service.in
index 188b7e1a3712..bdd70db566af 100644
--- srp_daemon/srp_daemon.service.in
+++ srp_daemon/srp_daemon.service.in
@@ -16,4 +16,4 @@ ProtectKernelModules=yes
RestrictRealtime=yes
[Install]
-WantedBy=remote-fs-pre.target
+WantedBy=multi-user.target