From 522cfa3a172cacc81c7679d1ee42b5ecb8786d635be8a8991b06610d6865a4b2 Mon Sep 17 00:00:00 2001 From: Patrick Seidensal Date: Fri, 18 Feb 2022 15:16:31 +0000 Subject: [PATCH] Accepting request 955900 from home:witekbedyk:branches:server:monitoring - Require Go 1.16+ - Do not build on s390 architecture. OBS-URL: https://build.opensuse.org/request/show/955900 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-prometheus?expand=0&rev=51 --- golang-github-prometheus-prometheus.changes | 6 ++++++ golang-github-prometheus-prometheus.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/golang-github-prometheus-prometheus.changes b/golang-github-prometheus-prometheus.changes index 32f88cb..9d24e53 100644 --- a/golang-github-prometheus-prometheus.changes +++ b/golang-github-prometheus-prometheus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 18 15:09:09 UTC 2022 - Witek Bedyk + +- Require Go 1.16+ +- Do not build on s390 architecture. + ------------------------------------------------------------------- Wed Jan 19 11:36:21 UTC 2022 - Witek Bedyk diff --git a/golang-github-prometheus-prometheus.spec b/golang-github-prometheus-prometheus.spec index 278ef5c..54bce0c 100644 --- a/golang-github-prometheus-prometheus.spec +++ b/golang-github-prometheus-prometheus.spec @@ -52,12 +52,13 @@ BuildRequires: firewall-macros BuildRequires: glibc-devel-static BuildRequires: golang-github-prometheus-promu BuildRequires: golang-packaging -BuildRequires: golang(API) >= 1.14 +BuildRequires: golang(API) >= 1.16 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre): user(prometheus) Requires(pre): group(prometheus) Requires(post): %fillup_prereq Provides: prometheus = %{version} +ExcludeArch: s390 %systemd_ordering %go_nostrip