Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package prometheus-blackbox_exporter for
openSUSE:Factory checked in at 2025-12-19 16:46:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/prometheus-blackbox_exporter (Old)
and /work/SRC/openSUSE:Factory/.prometheus-blackbox_exporter.new.1928
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "prometheus-blackbox_exporter"
Fri Dec 19 16:46:08 2025 rev:19 rq:1323674 version:0.26.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/prometheus-blackbox_exporter/prometheus-blackbox_exporter.changes
2025-05-30 17:25:05.790689898 +0200
+++
/work/SRC/openSUSE:Factory/.prometheus-blackbox_exporter.new.1928/prometheus-blackbox_exporter.changes
2025-12-19 16:50:28.613491504 +0100
@@ -1,0 +2,5 @@
+Wed Dec 17 11:15:45 UTC 2025 - Witek Bedyk <[email protected]>
+
+- Require gcc11-c++ for building with SLE 12
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ prometheus-blackbox_exporter.spec ++++++
--- /var/tmp/diff_new_pack.UYqDVH/_old 2025-12-19 16:50:31.417608768 +0100
+++ /var/tmp/diff_new_pack.UYqDVH/_new 2025-12-19 16:50:31.425609103 +0100
@@ -1,7 +1,7 @@
#
# spec file for package prometheus-blackbox_exporter
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -38,6 +38,9 @@
# 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}
+BuildRequires: gcc11-c++
+%endif
BuildRequires: golang-github-prometheus-promu >= 0.17.0
%if 0%{?rhel}
BuildRequires: golang >= 1.19
@@ -63,6 +66,10 @@
%build
%ifarch i586 s390x armv7hl armv7l armv7l:armv6l:armv5tel armv6hl
export BUILD_CGO_FLAG="--cgo"
+%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
+export CC=gcc-11
+export CXX=g++-11
+%endif
%endif
export GOFLAGS="-buildmode=pie"
promu build -v $BUILD_CGO_FLAG