Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package golang-github-prometheus-alertmanager for openSUSE:Factory checked in at 2023-11-30 22:01:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager (Old)
and /work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-alertmanager"
Thu Nov 30 22:01:39 2023 rev:17 rq:1129939 version:0.26.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/golang-github-prometheus-alertmanager.changes 2023-09-07 21:15:27.555135564 +0200
+++ /work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.25432/golang-github-prometheus-alertmanager.changes 2023-11-30 22:02:12.351015022 +0100
@@ -1,0 +2,11 @@
+Tue Nov 21 16:24:41 UTC 2023 - Witek Bedyk
+
+- Add 0002-Set-build-flags.patch
+- Require Go 1.20 or newer for building
+- Remove not used build flags
+- Create position independent executables (PIE)
+- Do not disable stripping the binaries
+- Add System/Monitoring group tag
+- Do not generate automatically changelog entries
+
+-------------------------------------------------------------------
New:
----
0002-Set-build-flags.patch
BETA DEBUG BEGIN:
New:
- Add 0002-Set-build-flags.patch
- Require Go 1.20 or newer for building
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-prometheus-alertmanager.spec ++++++
--- /var/tmp/diff_new_pack.RXDkPt/_old 2023-11-30 22:02:12.979038157 +0100
+++ /var/tmp/diff_new_pack.RXDkPt/_new 2023-11-30 22:02:12.979038157 +0100
@@ -22,24 +22,25 @@
Summary: Prometheus Alertmanager
License: Apache-2.0
URL: https://prometheus.io/
+Group: System/Monitoring
Source: alertmanager-%{version}.tar.gz
Source1: vendor.tar.gz
Source2: prometheus-alertmanager.service
Source3: alertmanager.yml
# Lifted from Debian's alertmanager package
Patch1: 0001-Default-settings.patch
+# Build as position independent executables (PIE)
+Patch2: 0002-Set-build-flags.patch
BuildRequires: fdupes
BuildRequires: golang-github-prometheus-promu >= 0.12.0
BuildRequires: golang-packaging
-BuildRequires: golang(API) >= 1.19
+BuildRequires: golang(API) >= 1.20
Requires(pre): group(prometheus)
Requires(pre): user(prometheus)
Provides: prometheus-alertmanager = %{version}
ExcludeArch: s390
%{?systemd_ordering}
-%{go_nostrip}
-
%description
The Alertmanager handles alerts sent by client applications such as the
Prometheus server. It takes care of deduplicating, grouping, and routing
@@ -51,8 +52,7 @@
%build
%goprep github.com/prometheus/alertmanager
-export BUILDFLAGS="-v -p 4 -x -buildmode=pie -mod=vendor"
-GOPATH=%{_builddir}/go promu build
+GOPATH=%{_builddir}/go promu -v build
%install
%goinstall
++++++ 0002-Set-build-flags.patch ++++++
Index: alertmanager-0.26.0/.promu.yml
===================================================================
--- alertmanager-0.26.0.orig/.promu.yml
+++ alertmanager-0.26.0/.promu.yml
@@ -10,7 +10,7 @@ build:
path: ./cmd/alertmanager
- name: amtool
path: ./cmd/amtool
- flags: -a
+ flags: -a -buildmode pie
tags:
all:
- netgo
++++++ _service ++++++
--- /var/tmp/diff_new_pack.RXDkPt/_old 2023-11-30 22:02:13.019039631 +0100
+++ /var/tmp/diff_new_pack.RXDkPt/_new 2023-11-30 22:02:13.023039778 +0100
@@ -7,7 +7,6 @@
<param name="revision">refs/tags/v0.26.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">^\D*([\d.]+)$</param>
- <param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">alertmanager</param>
++++++ alertmanager-0.26.0.obscpio ++++++
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/alertmanager-0.26.0.obscpio /work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.25432/alertmanager-0.26.0.obscpio differ: char 46, line 1
++++++ vendor.tar.gz ++++++