!28 [sync] PR-27: remove binaries runpath & rpath
From: @openeuler-sync-bot Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
acf13c113a
@ -1,6 +1,6 @@
|
||||
Name: papi
|
||||
Version: 7.0.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Performance Application Programming Interface
|
||||
License: BSD
|
||||
URL: http://icl.cs.utk.edu/papi/
|
||||
@ -56,6 +56,10 @@ cd src
|
||||
make DESTDIR=$RPM_BUILD_ROOT LDCONFIG=/bin/true install-all
|
||||
|
||||
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
|
||||
/sbin/ldconfig
|
||||
@ -85,6 +89,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%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
|
||||
- Upgrade to version 7.0.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user