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