Dominique Leuenberger 2022-04-14 15:24:02 +00:00 committed by Git OBS Bridge
commit 4ecaa09175
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}