!19 [sync] PR-18: Remove symbols for shared library files

From: @openeuler-sync-bot 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2023-08-30 00:56:20 +00:00 committed by Gitee
commit 717f0d7dcb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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