feat: fix strip

(cherry picked from commit ce02301e05c3fae738bd6909a1ae167cc7b8a76f)
This commit is contained in:
liweiganga 2023-03-16 16:42:35 +08:00 committed by openeuler-sync-bot
parent bb58d323e5
commit 4bbd80ec91

View File

@ -12,7 +12,7 @@
Name: dde-daemon
Version: 5.13.16.11
Release: 4
Release: 5
Summary: Daemon handling the DDE session settings
License: GPLv3
URL: http://shuttle.corp.deepin.com/cache/tasks/18802/unstable-amd64/
@ -117,7 +117,7 @@ go env -w GO111MODULE=auto
export GOPATH=%{_builddir}/%{name}-%{version}/vendor:$GOPATH
BUILDID="0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')"
%make_build GO_BUILD_FLAGS=-trimpath GOBUILD="go build -compiler gc -ldflags \"-B $BUILDID\""
%make_build GO_BUILD_FLAGS=-trimpath GOBUILD="go build -compiler gc -ldflags \"-s -B $BUILDID\""
#make GOPATH=/usr/share/gocode
%install
@ -183,6 +183,9 @@ fi
%{_sysusersdir}/%{sname}.conf
%changelog
* Thu Mar 16 2023 liweiganga <liweiganga@uniontech.com> - 5.13.16.11-5
- feat: fix strip
* Fri Mar 10 2023 hanshuang <hanshuang@uniontech.com> - 5.13.16.11-4
- fix deepin-accounts-daemon.service log fail