diff --git a/golang.spec b/golang.spec index 84a05c7..2f613b9 100644 --- a/golang.spec +++ b/golang.spec @@ -102,7 +102,7 @@ Name: golang Version: %{version} -Release: 1%{?dist} +Release: 2%{?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="" +DEFAULT_GO_LD_FLAGS="-s -w" %if !%{external_linker} export GO_LDFLAGS="-linkmode internal $DEFAULT_GO_LD_FLAGS" %else @@ -585,6 +585,10 @@ cd .. %endif %changelog +* Thu Jun 26 2025 Alejandro Sáez - 1.24.4-2 +- Add LD_FLAGS for stripping binaries +- Resolves: RHEL-93238 + * Fri Jun 13 2025 David Benoit - 1.24.4-1 - Update to Go 1.24.4 (fips-1) - Resolves: RHEL-95998