!5 修复rpath的安全变异选项
From: @gongzt Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
02fa21abfa
@ -1,6 +1,6 @@
|
|||||||
Name: libfabric
|
Name: libfabric
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: A core component of OpenFabric Interfaces
|
Summary: A core component of OpenFabric Interfaces
|
||||||
License: BSD or GPLv2
|
License: BSD or GPLv2
|
||||||
URL: http://ofiwg.github.io/libfabric/
|
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
|
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
|
%ifarch x86_64
|
||||||
BuildRequires: infinipath-psm-devel libpsm2-devel
|
BuildRequires: infinipath-psm-devel libpsm2-devel
|
||||||
%endif
|
%endif
|
||||||
@ -49,7 +49,7 @@ This contains man files for the using of libfabric.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-silent-rules --disable-static
|
%configure --disable-silent-rules --disable-static
|
||||||
%make_build
|
%make_build V=1
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -58,6 +58,7 @@ This contains man files for the using of libfabric.
|
|||||||
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
chrpath -d %{buildroot}%{_bindir}/fi_*
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -76,6 +77,8 @@ This contains man files for the using of libfabric.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Web Aug 04 2021 Liu Yinsi <liuyinsi@163.com> - 1.6.1-4
|
||||||
- fix multiple definition to support gcc 10
|
- fix multiple definition to support gcc 10
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user