From 2d6973b2bc61960e17a16bc34d8120e248dde949e9594a41b9d1d90ef605df7c Mon Sep 17 00:00:00 2001 From: Witek Bedyk Date: Mon, 26 Aug 2024 08:47:11 +0000 Subject: [PATCH] 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 --- golang-github-lusitaniae-apache_exporter.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golang-github-lusitaniae-apache_exporter.spec b/golang-github-lusitaniae-apache_exporter.spec index e566d18..dea1052 100644 --- a/golang-github-lusitaniae-apache_exporter.spec +++ b/golang-github-lusitaniae-apache_exporter.spec @@ -59,7 +59,7 @@ Source3: apparmor-usr.bin.%{targetname} BuildRequires: fdupes BuildRequires: golang-github-prometheus-promu %if 0%{?rhel} -BuildRequires: golang >= 1.18 +BuildRequires: golang >= 1.20 Requires(pre): shadow-utils %else BuildRequires: golang(API) >= 1.20