We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eba8c4e + 6cc3787 commit cccb80fCopy full SHA for cccb80f
1 file changed
uyuni-tools.spec
@@ -82,12 +82,13 @@ BuildRequires: golang(API) >= 1.25
82
# suse_version
83
84
%if 0%{?ubuntu}
85
-%define go_min_version 1.22
86
%if 0%{?ubuntu} >= 2404
87
-# Will use the default golang of the OS which is higher than go_min_version
+# Will use the default golang of the OS which is higher than minimal required go_version
88
BuildRequires: golang
89
%else
90
-BuildRequires: golang-%{go_min_version}
+# Overwrite with new go version the OS default
+%define go_version 1.22
91
+BuildRequires: golang-%{go_version}
92
%endif
93
94
# ubuntu
0 commit comments