diff --git a/papi.spec b/papi.spec index 3a2d21b..6c0e2b0 100644 --- a/papi.spec +++ b/papi.spec @@ -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 - 7.0.1-2 +- remove binaries runpath & rpath + * Tue Jun 20 2023 Ge Wang - 7.0.1-1 - Upgrade to version 7.0.1