Fix Go version macro configuration

This commit is contained in:
Neal Gompa 2022-04-19 08:20:57 -04:00
parent cc9e30136f
commit a69e1ac7a1

View File

@ -106,9 +106,9 @@
%endif %endif
# Comment out go_prerelease and go_patch as needed # Comment out go_prerelease and go_patch as needed
%global go_api 1.18.1 %global go_api 1.18
#global go_prerelease rc1 #global go_prerelease rc1
#global go_patch 1 %global go_patch 1
%global go_version %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease:~%{go_prerelease}} %global go_version %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease:~%{go_prerelease}}
%global go_source %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease} %global go_source %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease}