Add RHEL version to the go version command

Resolves: RHEL-34018
This commit is contained in:
Alejandro Sáez 2024-05-10 20:27:58 +02:00 committed by Álex Sáez
parent c9d6351079
commit 64ba02b281

View File

@ -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}