20
0
2026-02-06 18:10:36 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 6 08:50:35 UTC 2026 - Witek Bedyk <witold.bedyk@suse.com>
- Fix conditional for SLE 12
-------------------------------------------------------------------
Thu Feb 5 11:49:33 UTC 2026 - Witek Bedyk <witold.bedyk@suse.com>
+2 -2
View File
@@ -38,7 +38,7 @@ Source2: prometheus-blackbox_exporter.service
# This patch has been applied before generating vendor tarball
Patch1: 0001-Bump-x-net.patch
BuildRequires: fdupes
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
%if 0%{?suse_version} == 1315 && !0%{?is_opensuse}
BuildRequires: gcc11-c++
%endif
BuildRequires: golang-github-prometheus-promu >= 0.17.0
@@ -70,7 +70,7 @@ Prometheus blackbox exporter allows blackbox probing of endpoints over HTTP, HTT
%build
%ifarch i586 s390x armv7hl armv7l armv7l:armv6l:armv5tel armv6hl
export BUILD_CGO_FLAG="--cgo"
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
%if 0%{?suse_version} == 1315 && !0%{?is_opensuse}
export CC=gcc-11
export CXX=g++-11
%endif