Hi,
I just want to inform you that I have created a new macro named
go_nostrip at https://github.com/openSUSE/golang-packaging/pull/3.
This macro should be used within the packages which use golang-packaging
to disable the stripping of golang binaries to avoid issues related to
that. Beside that it disables also useless debug sub-packages.
So if you create a package for some golang related tool please use this
macro. Under the hood it just calls one undefine and one define:
%undefine _build_create_debug
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
If you want to know more about those options read
https://en.opensuse.org/openSUSE:Packaging_guidelines#Debuginfo and
https://github.com/golang/go/issues/1242.
Best,
Thomas Boerger
--
Thomas Boerger