[FIX] Fix strip problem
This commit is contained in:
parent
b845d1f504
commit
fa82ec6381
@ -1,6 +1,6 @@
|
|||||||
Name: pin-gcc-client
|
Name: pin-gcc-client
|
||||||
Version: 0.4.1
|
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.
|
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
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
||||||
URL: https://gitee.com/src-openeuler/pin-gcc-client
|
URL: https://gitee.com/src-openeuler/pin-gcc-client
|
||||||
@ -45,7 +45,7 @@ cd _build
|
|||||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
echo "{_libdir}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
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
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -64,6 +64,12 @@ find %{_libdir} -type f -name "*.so" -exec strip "{}" ";"
|
|||||||
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Aug 3 2023 dingguangya <dingguangya1@huawei.com> - 0.4.1-10
|
||||||
- Type:FIX
|
- Type:FIX
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user