!34 [sync] PR-31: 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 11:24:45 +00:00 committed by Gitee
commit c7edd9e2d0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -12,7 +12,7 @@
Name: dde-daemon Name: dde-daemon
Version: 5.13.16.11 Version: 5.13.16.11
Release: 4 Release: 5
Summary: Daemon handling the DDE session settings Summary: Daemon handling the DDE session settings
License: GPLv3 License: GPLv3
URL: http://shuttle.corp.deepin.com/cache/tasks/18802/unstable-amd64/ 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 export GOPATH=%{_builddir}/%{name}-%{version}/vendor:$GOPATH
BUILDID="0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" 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 #make GOPATH=/usr/share/gocode
%install %install
@ -183,6 +183,9 @@ fi
%{_sysusersdir}/%{sname}.conf %{_sysusersdir}/%{sname}.conf
%changelog %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 * Fri Mar 10 2023 hanshuang <hanshuang@uniontech.com> - 5.13.16.11-4
- fix deepin-accounts-daemon.service log fail - fix deepin-accounts-daemon.service log fail