feat: fix strip
This commit is contained in:
parent
d520048be0
commit
2dc5c302a7
11
0002-feat-fix-strip.patch
Normal file
11
0002-feat-fix-strip.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/Makefile 2023-03-14 17:56:42.460087712 +0800
|
||||||
|
+++ b/Makefile 2023-03-14 17:55:21.035843959 +0800
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
libdir = /lib
|
||||||
|
SYSTEMD_LIB_DIR = ${libdir}
|
||||||
|
SYSTEMD_SERVICE_DIR = ${SYSTEMD_LIB_DIR}/systemd/system/
|
||||||
|
-GOBUILD = env GOPATH="${CURDIR}/${GOBUILD_DIR}:${GOPATH}" go build
|
||||||
|
+GOBUILD = env GOPATH="${CURDIR}/${GOBUILD_DIR}:${GOPATH}" go build -ldflags "-s"
|
||||||
|
|
||||||
|
LIBRARIES = \
|
||||||
|
thumbnails \
|
||||||
@ -2,7 +2,7 @@
|
|||||||
# disable for bootstrapping
|
# disable for bootstrapping
|
||||||
%bcond_with check
|
%bcond_with check
|
||||||
#%global _unpackaged_files_terminate_build 0
|
#%global _unpackaged_files_terminate_build 0
|
||||||
%global with_debug 0
|
%global with_debug 1
|
||||||
|
|
||||||
%if 0%{?with_debug}
|
%if 0%{?with_debug}
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
Name: dde-api
|
Name: dde-api
|
||||||
Version: 5.4.6
|
Version: 5.4.6
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Go-lang bingding for dde-daemon
|
Summary: Go-lang bingding for dde-daemon
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://shuttle.corp.deepin.com/cache/tasks/19177/unstable-amd64/
|
URL: https://shuttle.corp.deepin.com/cache/tasks/19177/unstable-amd64/
|
||||||
@ -31,6 +31,7 @@ Source1: vendor.tar.gz
|
|||||||
|
|
||||||
#fix sound service bug
|
#fix sound service bug
|
||||||
Patch0001: 0001-fix-https-gitee.com-src-openeuler-dde-api-issues-I6H.patch
|
Patch0001: 0001-fix-https-gitee.com-src-openeuler-dde-api-issues-I6H.patch
|
||||||
|
Patch0002: 0002-feat-fix-strip.patch
|
||||||
|
|
||||||
BuildRequires: libcanberra-devel
|
BuildRequires: libcanberra-devel
|
||||||
BuildRequires: deepin-gettext-tools
|
BuildRequires: deepin-gettext-tools
|
||||||
@ -132,6 +133,9 @@ exit 0
|
|||||||
%files -n %{name}-devel -f devel.file-list
|
%files -n %{name}-devel -f devel.file-list
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 14 2023 liweiganga <liweiganga@uniontech.com> - 5.4.6-4
|
||||||
|
- feat: fix strip
|
||||||
|
|
||||||
* Fri Mar 10 2023 heyitao <heyitao@uniontech.com> - 5.4.6-3
|
* Fri Mar 10 2023 heyitao <heyitao@uniontech.com> - 5.4.6-3
|
||||||
- Fix sound service failed
|
- Fix sound service failed
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user