forked from pool/golang-github-lusitaniae-apache_exporter
Require Go 1.20 when building for RedHat based distros
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-lusitaniae-apache_exporter?expand=0&rev=35
This commit is contained in:
parent
29b66bb847
commit
2d6973b2bc
@ -59,7 +59,7 @@ Source3: apparmor-usr.bin.%{targetname}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: golang-github-prometheus-promu
|
BuildRequires: golang-github-prometheus-promu
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
BuildRequires: golang >= 1.18
|
BuildRequires: golang >= 1.20
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
%else
|
%else
|
||||||
BuildRequires: golang(API) >= 1.20
|
BuildRequires: golang(API) >= 1.20
|
||||||
|
Loading…
Reference in New Issue
Block a user