Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package
golang-github-QubitProducts-exporter_exporter for openSUSE:Factory checked in
at 2025-12-16 15:55:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing
/work/SRC/openSUSE:Factory/golang-github-QubitProducts-exporter_exporter (Old)
and
/work/SRC/openSUSE:Factory/.golang-github-QubitProducts-exporter_exporter.new.1939
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-QubitProducts-exporter_exporter"
Tue Dec 16 15:55:47 2025 rev:13 rq:1323118 version:0.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-QubitProducts-exporter_exporter/golang-github-QubitProducts-exporter_exporter.changes
2025-12-09 12:57:56.563099629 +0100
+++
/work/SRC/openSUSE:Factory/.golang-github-QubitProducts-exporter_exporter.new.1939/golang-github-QubitProducts-exporter_exporter.changes
2025-12-16 16:01:48.004860872 +0100
@@ -1,0 +2,5 @@
+Fri Dec 12 11:29:05 UTC 2025 - Witek Bedyk <[email protected]>
+
+- Require gcc11-c++ for building with SLE 12
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-QubitProducts-exporter_exporter.spec ++++++
--- /var/tmp/diff_new_pack.1sqncw/_old 2025-12-16 16:01:49.096907062 +0100
+++ /var/tmp/diff_new_pack.1sqncw/_new 2025-12-16 16:01:49.104907400 +0100
@@ -41,6 +41,9 @@
BuildRequires: fdupes
BuildRequires: golang-packaging
%endif
+%if 0%{?suse_version} == 1315 && !0%{?is_opensuse}
+BuildRequires: gcc11-c++
+%endif
%if 0%{?suse_version}
BuildRequires: golang(API) >= 1.23
%else
@@ -67,6 +70,13 @@
%build
%if 0%{?suse_version} || 0%{?rhel} >= 8
%goprep %{import_path}
+%ifarch s390x armv7hl armv7l armv7l:armv6l:armv5tel armv6hl
+export CGO_ENABLED=1
+%if 0%{?suse_version} == 1315 && !0%{?is_opensuse}
+export CC=gcc-11
+export CXX=g++-11
+%endif
+%endif
%gobuild --mod=vendor "" ...
%else
mkdir -pv $HOME/go/src && cp -avr vendor/* $HOME/go/src/