From 64ba02b2815f49fd9c114d2f5f267f462cdb8c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= Date: Fri, 10 May 2024 20:27:58 +0200 Subject: [PATCH] Add RHEL version to the go version command Resolves: RHEL-34018 --- golang.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/golang.spec b/golang.spec index 6d910bc..403e132 100644 --- a/golang.spec +++ b/golang.spec @@ -318,6 +318,7 @@ This is the main package for go-toolset. %autosetup -p1 -n go # Copy fedora.go to ./src/runtime/ cp %{SOURCE2} ./src/runtime/ +sed -i '1s/$/ (%{?rhel:Red Hat} %{version}-%{release})/' VERSION # If FIPS is enabled, install the FIPS source %if %{fips}