From fa7cb6db8e77214e77f6fca5ac1bd98474081156 Mon Sep 17 00:00:00 2001 From: gongzt Date: Fri, 10 Sep 2021 12:42:16 +0800 Subject: [PATCH] fix rpath --- libfabric.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libfabric.spec b/libfabric.spec index a894599..495f1cb 100644 --- a/libfabric.spec +++ b/libfabric.spec @@ -1,6 +1,6 @@ Name: libfabric Version: 1.6.1 -Release: 4 +Release: 5 Summary: A core component of OpenFabric Interfaces License: BSD or GPLv2 URL: http://ofiwg.github.io/libfabric/ @@ -8,7 +8,7 @@ Source0: https://github.com/ofiwg/libfabric/releases/download/v%{version} Patch0001: backport-libfabric-fix-multiple-definition.patch -BuildRequires: gcc libibverbs-devel libnl3-devel librdmacm-devel +BuildRequires: gcc libibverbs-devel libnl3-devel librdmacm-devel chrpath %ifarch x86_64 BuildRequires: infinipath-psm-devel libpsm2-devel %endif @@ -49,7 +49,7 @@ This contains man files for the using of libfabric. %build %configure --disable-silent-rules --disable-static -%make_build +%make_build V=1 %install @@ -58,6 +58,7 @@ This contains man files for the using of libfabric. %ldconfig_scriptlets +chrpath -d %{buildroot}%{_bindir}/fi_* %files @@ -76,6 +77,8 @@ This contains man files for the using of libfabric. %changelog +* Fri Sept 10 2021 gongzhengtang -1.6.1-5 +- fix rpath * Web Aug 04 2021 Liu Yinsi - 1.6.1-4 - fix multiple definition to support gcc 10 -- Gitee