Remove symbols for shared library files

(cherry picked from commit 5d5dd977b71d5ceaa4a8c26dc46eab144600991f)
This commit is contained in:
jxy_git 2023-08-29 15:32:02 +08:00 committed by openeuler-sync-bot
parent f4c0987db7
commit e8fd2fafef

View File

@ -2,7 +2,7 @@
Name: ovirt-engine-wildfly
Version: 19.1.0
Release: 2
Release: 3
Summary: WildFly Application Server for oVirt Engine
Group: Virtualization/Management
License: Apache 2.0
@ -53,13 +53,16 @@ find \
-type f \
-name '*.so' \
-exec chrpath --delete {} \; \
-exec strip {} \;
-exec rm -rf {} \;
%files
%{_datadir}/%{name}
%changelog
* Tue Aug 29 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 19.1.0-3
- Remove symbols for shared library files
* Fri Apr 07 2023 wangdi <wangdi@kylinos.cn> - 19.1.0-2
- strip shared objects