!252 Delete RPATH
From: @eastb233 Reviewed-by: @li-yancheng Signed-off-by: @li-yancheng
This commit is contained in:
commit
5a9a77ad72
@ -1,7 +1,7 @@
|
|||||||
Summary: Binary utilities
|
Summary: Binary utilities
|
||||||
Name: binutils
|
Name: binutils
|
||||||
Version: 2.34
|
Version: 2.34
|
||||||
Release: 30
|
Release: 31
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://sourceware.org/binutils
|
URL: https://sourceware.org/binutils
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ Provides: bundled(libiberty)
|
|||||||
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
BuildRequires: gcc, perl, sed, coreutils, dejagnu, zlib-devel, glibc-static, sharutils, bc, libstdc++-static
|
BuildRequires: gcc, perl, sed, coreutils, dejagnu, zlib-devel, glibc-static, sharutils, bc, libstdc++-static
|
||||||
BuildRequires: bison, m4, gcc-c++, gettext, flex, zlib-devel, texinfo >= 4.0, perl-podlators
|
BuildRequires: bison, m4, gcc-c++, gettext, flex, zlib-devel, texinfo >= 4.0, perl-podlators, chrpath
|
||||||
Requires(post): info coreutils chkconfig
|
Requires(post): info coreutils chkconfig
|
||||||
Requires(preun):info chkconfig
|
Requires(preun):info chkconfig
|
||||||
|
|
||||||
@ -203,6 +203,9 @@ done
|
|||||||
install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
|
install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
|
||||||
chmod +x %{buildroot}%{_libdir}/lib*.so*
|
chmod +x %{buildroot}%{_libdir}/lib*.so*
|
||||||
|
|
||||||
|
# Delete RPATH
|
||||||
|
chrpath -d %{buildroot}%{_bindir}/*
|
||||||
|
|
||||||
rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.{so,la}
|
rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.{so,la}
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 arm
|
%ifarch %{ix86} x86_64 arm
|
||||||
@ -319,6 +322,9 @@ fi
|
|||||||
%{_infodir}/bfd*info*
|
%{_infodir}/bfd*info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 18 2023 eastb233 <xiezhiheng@huawei.com> - 2.34-31
|
||||||
|
- Delete rpath
|
||||||
|
|
||||||
* Wed Oct 11 2023 eastb233 <xiezhiheng@huawei.com> - 2.34-30
|
* Wed Oct 11 2023 eastb233 <xiezhiheng@huawei.com> - 2.34-30
|
||||||
- Backport a fix about use-after-free issue
|
- Backport a fix about use-after-free issue
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user