[FIX] Fix strip problem

This commit is contained in:
dingguangya 2023-08-07 16:23:14 +08:00
parent b845d1f504
commit fa82ec6381

View File

@ -1,6 +1,6 @@
Name: pin-gcc-client
Version: 0.4.1
Release: 10
Release: 11
Summary: A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
URL: https://gitee.com/src-openeuler/pin-gcc-client
@ -45,7 +45,7 @@ cd _build
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "{_libdir}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
find %{_libdir} -type f -name "*.so" -exec strip "{}" ";"
find %{buildroot} -type f -name "*.so" -exec strip "{}" ";"
%post
/sbin/ldconfig
@ -64,6 +64,12 @@ find %{_libdir} -type f -name "*.so" -exec strip "{}" ";"
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
%changelog
* Thu Aug 3 2023 dingguangya <dingguangya1@huawei.com> - 0.4.1-11
- Type:FIX
- ID:NA
- SUG:NA
- DESC:FIX STRIP problem
* Thu Aug 3 2023 dingguangya <dingguangya1@huawei.com> - 0.4.1-10
- Type:FIX
- ID:NA