Add RHEL version to the go version command
Resolves: RHEL-34018
This commit is contained in:
parent
c9d6351079
commit
64ba02b281
@ -318,6 +318,7 @@ This is the main package for go-toolset.
|
|||||||
%autosetup -p1 -n go
|
%autosetup -p1 -n go
|
||||||
# Copy fedora.go to ./src/runtime/
|
# Copy fedora.go to ./src/runtime/
|
||||||
cp %{SOURCE2} ./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 is enabled, install the FIPS source
|
||||||
%if %{fips}
|
%if %{fips}
|
||||||
|
Loading…
Reference in New Issue
Block a user