fix rpath

This commit is contained in:
gongzt 2021-09-10 12:42:16 +08:00
parent a6c103cbce
commit fa7cb6db8e

View File

@ -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 <gongzhengtang@huawei.com> -1.6.1-5
- fix rpath
* Web Aug 04 2021 Liu Yinsi <liuyinsi@163.com> - 1.6.1-4
- fix multiple definition to support gcc 10