From 327b3e2c7d961a9f5e5a64a9df98ecc97a384cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= Date: Thu, 30 Nov 2023 14:00:13 +0100 Subject: [PATCH] Add RHEL release information to Go version output Resolves: RHEL-19493 --- golang.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/golang.spec b/golang.spec index e514ded..33abae9 100644 --- a/golang.spec +++ b/golang.spec @@ -99,7 +99,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 @@ -265,6 +265,8 @@ popd %autopatch -p1 +sed -i '1s/$/ (%{?rhel:Red Hat} %{version}-%{release})/' VERSION + cp %{SOURCE2} ./src/runtime/ %build @@ -526,6 +528,9 @@ cd .. %files -n go-toolset %changelog +* Thu Nov 30 2023 Alejandro Sáez - 1.21.4-2 +- Add release information + * Tue Nov 14 2023 Alejandro Sáez - 1.21.4-1 - Rebase to Go 1.21.4 - Resolves: RHEL-11871