!15 [sync] PR-12: fix strip

From: @openeuler-sync-bot 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
This commit is contained in:
openeuler-ci-bot 2023-03-16 09:13:49 +00:00 committed by Gitee
commit ffc9029abc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,9 +1,9 @@
%bcond_with check
##%global debug_package %{nil}
%global debug_package %{nil}
%global _unpackaged_files_terminate_build 0
Name: deepin-graphics-driver-manager
Version: 5.0.0
Release: 4
Release: 5
Summary: deepin driver manager.
License: GPLv3
@ -26,6 +26,9 @@ deepin driver manager.
%prep
%setup
# fix strip
sed -i 's|-Wall"|-Wall -s"|' CMakeLists.txt
%build
export PATH=$PATH:/usr/lib64/qt5/bin
cmake .
@ -45,6 +48,9 @@ rm -rf %{?buildroot}/usr/lib/%{name}/debug/
%changelog
* Thu Mar 16 2023 liweiganga <liweiganga@uniontech.com> - 5.0.0-5
- feat: fix strip
* Mon Mar 13 2023 guoqinglan <guoqinglan@uniontech.com> - 5.0.0-4
- Modify the installation path from `/usr/lib64` to `/usr/lib` ,cause the program hardcodes `/usr/lib` as the path for calling scripts.