1
0

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
This commit is contained in:
Patrick Seidensal 2022-02-18 15:16:31 +00:00 committed by Git OBS Bridge
parent b1088df893
commit 522cfa3a17
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 18 15:09:09 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>
- Require Go 1.16+
- Do not build on s390 architecture.
-------------------------------------------------------------------
Wed Jan 19 11:36:21 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>

View File

@ -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