SHA256
1
0
forked from pool/docker

* Make sure we *always* build unstripped Go binaries.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=106
This commit is contained in:
Aleksa Sarai 2016-05-18 14:21:48 +00:00 committed by Git OBS Bridge
parent ca40a59d67
commit 22d959a1c7
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 18 14:21:09 UTC 2016 - asarai@suse.de
* Make sure we *always* build unstripped Go binaries.
-------------------------------------------------------------------
Mon May 16 13:55:07 UTC 2016 - asarai@suse.de

View File

@ -104,6 +104,13 @@ ExcludeArch: s390x
%endif
ExcludeArch: ppc
# It's a bad idea to strip Go binaries (apart from making debugging impossible,
# it also is known to cause some interesting runtime bugs). However, rpmbuild
# will strip your binaries if it is creating debuginfo packages (as well as
# doing it by default). So we have to manually disable both of these things.
%undefine _build_create_debug
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
%description
Docker complements LXC with a high-level API which operates at the process
level. It runs unix processes with strong guarantees of isolation and