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
2022-03-05 16:27:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager (Old)
and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-alertmanager"
Sat Mar 5 16:27:37 2022 rev:10 rq:959295 version:0.23.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/golang-github-prometheus-alertmanager.changes
2021-09-29 20:20:42.859145070 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1958/golang-github-prometheus-alertmanager.changes
2022-03-05 16:27:38.383903386 +0100
@@ -1,0 +2,16 @@
+Thu Mar 03 21:12:06 UTC 2022 - [email protected]
+
+- Update to version 0.23.0:
+ * Release 0.23.0
+ * Release 0.23.0-rc.0
+ * amtool: Detect version drift and warn users (#2672)
+ * Add ability to skip TLS verification for amtool (#2663)
+ * Fix empty isEqual in amtool. (#2668)
+ * Fix main tests (#2670)
+ * cli: add new template render command (#2538)
+ * OpsGenie: refer to alert instead of incident (#2609)
+ * Docs: target_match and source_match are DEPRECATED (#2665)
+ * Fix test not waiting for cluster member to be ready
+- Add go_modules to _service.
+
+-------------------------------------------------------------------
Old:
----
alertmanager-0.21.0.tar.xz
New:
----
_servicedata
alertmanager-0.23.0.tar.gz
vendor.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-prometheus-alertmanager.spec ++++++
--- /var/tmp/diff_new_pack.gbIX2X/_old 2022-03-05 16:27:39.051903448 +0100
+++ /var/tmp/diff_new_pack.gbIX2X/_new 2022-03-05 16:27:39.059903449 +0100
@@ -1,7 +1,7 @@
#
# spec file for package golang-github-prometheus-alertmanager
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,20 @@
Name: golang-github-prometheus-alertmanager
-Version: 0.21.0
+Version: 0.23.0
Release: 0
Summary: Prometheus Alertmanager
License: Apache-2.0
URL: https://prometheus.io/
-Source: alertmanager-%{version}.tar.xz
-Source1: prometheus-alertmanager.service
-Source2: alertmanager.yml
+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
BuildRequires: fdupes
-BuildRequires: golang-github-prometheus-promu
+BuildRequires: golang-github-prometheus-promu >= 0.12.0
BuildRequires: golang-packaging
-BuildRequires: xz
BuildRequires: golang(API) >= 1.11
Requires(pre): group(prometheus)
Requires(pre): user(prometheus)
@@ -48,10 +48,12 @@
%prep
%setup -q -n alertmanager-%{version}
+%setup -q -T -D -a 1 -n alertmanager-%{version}
%patch1 -p 1
%build
%goprep github.com/prometheus/alertmanager
+export BUILDFLAGS="-v -p 4 -x -buildmode=pie -mod=vendor"
GOPATH=%{_builddir}/go promu build
%install
@@ -60,10 +62,10 @@
install -D -m0755 %{_builddir}/alertmanager-%{version}/amtool
%{buildroot}/%{_bindir}/amtool
%gosrc
mv %{buildroot}%{_bindir}/alertmanager
%{buildroot}%{_bindir}/prometheus-alertmanager
-install -D -m 0644 %{SOURCE1}
%{buildroot}%{_unitdir}/prometheus-alertmanager.service
+install -D -m 0644 %{SOURCE2}
%{buildroot}%{_unitdir}/prometheus-alertmanager.service
install -Dd -m 0755 %{buildroot}%{_sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcprometheus-alertmanager
-install -D -m 0644 %{SOURCE2}
%{buildroot}%{_sysconfdir}/prometheus/alertmanager.yml
+install -D -m 0644 %{SOURCE3}
%{buildroot}%{_sysconfdir}/prometheus/alertmanager.yml
install -Dd -m 0755
%{buildroot}%{_sysconfdir}/prometheus/alertmanager_templates
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/alertmanager
++++++ _service ++++++
--- /var/tmp/diff_new_pack.gbIX2X/_old 2022-03-05 16:27:39.127903455 +0100
+++ /var/tmp/diff_new_pack.gbIX2X/_new 2022-03-05 16:27:39.131903456 +0100
@@ -1,18 +1,23 @@
<services>
<service name="tar_scm" mode="disabled">
- <param name="url">https://github.com/prometheus/alertmanager.git</param>
<param name="scm">git</param>
+ <param name="url">https://github.com/prometheus/alertmanager</param>
<param name="exclude">.git</param>
<param name="exclude">.github</param>
- <param name="versionformat">0.21.0</param>
- <param name="revision">v0.21.0</param>
- </service>
+ <param name="revision">refs/tags/v0.23.0</param>
+ <param name="versionformat">@PARENT_TAG@</param>
+ <param name="versionrewrite-pattern">^\D*([\d.]+)$</param>
+ <param name="changesgenerate">enable</param>
+ </service>
<service name="recompress" mode="disabled">
<param name="file">alertmanager-*.tar</param>
- <param name="compression">xz</param>
+ <param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">alertmanager</param>
</service>
+ <service name="go_modules" mode="disabled">
+ <param name="archive">alertmanager-0.23.0.tar.gz</param>
+ </service>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/prometheus/alertmanager</param>
<param
name="changesrevision">60a6e4cf76c29895086716ed9628540cd576fa9b</param></service></servicedata>
(No newline at EOF)