From 0dbc79bca19b5397f56cad8f88df96cecfacf905 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sun, 31 Oct 2021 04:34:46 +0000 Subject: [PATCH] import golang-1.17.2-2.module+el8.6.0+13072+44fdffd1 --- SPECS/golang.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SPECS/golang.spec b/SPECS/golang.spec index 40f2063..ef99158 100644 --- a/SPECS/golang.spec +++ b/SPECS/golang.spec @@ -101,7 +101,7 @@ Name: golang Version: %{go_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 @@ -400,6 +400,9 @@ cp -av %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d/golang.gdb mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf +# Quick fix for the rhbz#2014704 +sed -i 's/const defaultGO_LDSO = `.*`/const defaultGO_LDSO = ``/' $RPM_BUILD_ROOT%{goroot}/src/internal/buildcfg/zbootstrap.go + %check export GOROOT=$(pwd -P) export PATH="$GOROOT"/bin:"$PATH" @@ -513,6 +516,9 @@ cd .. %endif %changelog +* Wed Oct 27 2021 Alejandro Sáez - 1.17.2-2 +- Resolves: rhbz#2014704 + * Tue Oct 12 2021 Alejandro Sáez - 1.17.2-1 - Rebase to Go 1.17.2 - Related: rhbz#2014088