feat: fix strip
(cherry picked from commit 087f528ba97dd0e999824f842afb2b927e7e0e51)
This commit is contained in:
parent
8881d044ea
commit
bcf0f69c73
@ -1,9 +1,9 @@
|
|||||||
%bcond_with check
|
%bcond_with check
|
||||||
##%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
%global _unpackaged_files_terminate_build 0
|
%global _unpackaged_files_terminate_build 0
|
||||||
Name: deepin-graphics-driver-manager
|
Name: deepin-graphics-driver-manager
|
||||||
Version: 5.0.0
|
Version: 5.0.0
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: deepin driver manager.
|
Summary: deepin driver manager.
|
||||||
|
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
@ -26,6 +26,9 @@ deepin driver manager.
|
|||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
|
|
||||||
|
# fix strip
|
||||||
|
sed -i 's|-Wall"|-Wall -s"|' CMakeLists.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH=$PATH:/usr/lib64/qt5/bin
|
export PATH=$PATH:/usr/lib64/qt5/bin
|
||||||
cmake .
|
cmake .
|
||||||
@ -45,6 +48,9 @@ rm -rf %{?buildroot}/usr/lib/%{name}/debug/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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.
|
- Modify the installation path from `/usr/lib64` to `/usr/lib` ,cause the program hardcodes `/usr/lib` as the path for calling scripts.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user