Fix Go version macro configuration

This commit is contained in:
Neal Gompa 2022-04-19 08:20:57 -04:00
parent cc9e30136f
commit a69e1ac7a1
1 changed files with 2 additions and 2 deletions

View File

@ -106,9 +106,9 @@
%endif
# 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_patch 1
%global go_patch 1
%global go_version %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease:~%{go_prerelease}}
%global go_source %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease}