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}