[c9s] Re enable debuginfo in toolchain binaries

Instead of omitting debuginfo, waive the rpminspect result.
Later we will strip the debuginfo into a separate package.

Resolves: RHEL-101454
This commit is contained in:
David Benoit 2025-07-21 09:48:57 -04:00
parent 2dcff1324c
commit b76929283d
2 changed files with 7 additions and 2 deletions

View File

@ -102,7 +102,7 @@
Name: golang
Version: %{version}
Release: 2%{?dist}
Release: 3%{?dist}
Summary: The Go Programming Language
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
License: BSD and Public Domain
@ -342,7 +342,7 @@ export CC_FOR_TARGET="gcc"
export GOOS=linux
export GOARCH=%{gohostarch}
DEFAULT_GO_LD_FLAGS="-s -w"
DEFAULT_GO_LD_FLAGS=""
%if !%{external_linker}
export GO_LDFLAGS="-linkmode internal $DEFAULT_GO_LD_FLAGS"
%else
@ -585,6 +585,10 @@ cd ..
%endif
%changelog
* Mon Jul 21 2025 David Benoit <dbenoit@redhat.com> - 1.24.4-3
- Re-enable debguginfo and waive rpminspect result
- Resolves: RHEL-101454
* Thu Jun 26 2025 Alejandro Sáez <asm@redhat.com> - 1.24.4-2
- Add LD_FLAGS for stripping binaries
- Resolves: RHEL-93238

View File

@ -20,6 +20,7 @@ debuginfo:
- /usr/lib/golang/pkg/tool/linux_*/objdump
- /usr/lib/golang/pkg/tool/linux_*/pack
- /usr/lib/golang/pkg/tool/linux_*/pprof
- /usr/lib/golang/pkg/tool/linux_*/preprofile
- /usr/lib/golang/pkg/tool/linux_*/test2json
- /usr/lib/golang/pkg/tool/linux_*/trace
- /usr/lib/golang/pkg/tool/linux_*/vet