From 2d6973b2bc61960e17a16bc34d8120e248dde949e9594a41b9d1d90ef605df7c Mon Sep 17 00:00:00 2001 From: Witek Bedyk Date: Mon, 26 Aug 2024 08:47:11 +0000 Subject: [PATCH 1/2] 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 From d06a098aaa23940790bc535c25c0cb8a6cb7d713076c16e7e30766c7d536ab2d Mon Sep 17 00:00:00 2001 From: Witek Bedyk Date: Thu, 29 Aug 2024 13:16:25 +0000 Subject: [PATCH 2/2] Update changelog OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-lusitaniae-apache_exporter?expand=0&rev=36 --- golang-github-lusitaniae-apache_exporter.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/golang-github-lusitaniae-apache_exporter.changes b/golang-github-lusitaniae-apache_exporter.changes index 2820e31..c513673 100644 --- a/golang-github-lusitaniae-apache_exporter.changes +++ b/golang-github-lusitaniae-apache_exporter.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 26 11:18:03 UTC 2024 - Witek Bedyk + +- Require Go 1.20 when building for RedHat derivatives + ------------------------------------------------------------------- Mon Aug 12 10:55:00 UTC 2024 - Witek Bedyk