Accepting request 966447 from home:sbluhm:branches:systemsmanagement:Uyuni:Master:Other:EL

- Adapted for Enterprise Linux build.

OBS-URL: https://build.opensuse.org/request/show/966447
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-promu?expand=0&rev=15
This commit is contained in:
Witek Bedyk 2022-04-12 13:14:32 +00:00 committed by Git OBS Bridge
parent 962b6ae432
commit 59cfd435c1
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 1 13:56:36 UTC 2022 - Stefan Bluhm <stefan.bluhm@clacee.eu>
- Adapted for Enterprise Linux build.
-------------------------------------------------------------------
Thu Mar 03 21:07:04 UTC 2022 - ecsos@opensuse.org

View File

@ -15,6 +15,10 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if 0%{?rhel}
# Fix ERROR: No build ID note found in
%undefine _missing_build_ids_terminate_build
%endif
%{go_nostrip}
@ -28,7 +32,11 @@ URL: https://github.com/prometheus/promu
Source: promu-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang-packaging
%if 0%{?rhel}
BuildRequires: golang >= 1.15
%else
BuildRequires: golang(API) = 1.15
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{go_provides}