remove binaries runpath & rpath
(cherry picked from commit 201d81ca5e204fb564eeb3954d8bb6b78e41ad20)
This commit is contained in:
parent
b64ba0eec1
commit
bda4058e7c
@ -1,6 +1,6 @@
|
|||||||
Name: papi
|
Name: papi
|
||||||
Version: 7.0.1
|
Version: 7.0.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Performance Application Programming Interface
|
Summary: Performance Application Programming Interface
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://icl.cs.utk.edu/papi/
|
URL: http://icl.cs.utk.edu/papi/
|
||||||
@ -56,6 +56,10 @@ cd src
|
|||||||
make DESTDIR=$RPM_BUILD_ROOT LDCONFIG=/bin/true install-all
|
make DESTDIR=$RPM_BUILD_ROOT LDCONFIG=/bin/true install-all
|
||||||
|
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||||
|
file `find $RPM_BUILD_ROOT%{_bindir} -type f` |grep -w ELF |awk -F":" '{print $1}'|for file in `xargs`
|
||||||
|
do
|
||||||
|
chrpath --delete $file
|
||||||
|
done
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -85,6 +89,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 28 2023 chenchen <chen_aka_jan@163.com> - 7.0.1-2
|
||||||
|
- remove binaries runpath & rpath
|
||||||
|
|
||||||
* Tue Jun 20 2023 Ge Wang <wang__ge@126.com> - 7.0.1-1
|
* Tue Jun 20 2023 Ge Wang <wang__ge@126.com> - 7.0.1-1
|
||||||
- Upgrade to version 7.0.1
|
- Upgrade to version 7.0.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user