Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package prometheus-ha_cluster_exporter for 
openSUSE:Factory checked in at 2022-05-24 20:33:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/prometheus-ha_cluster_exporter (Old)
 and      /work/SRC/openSUSE:Factory/.prometheus-ha_cluster_exporter.new.2254 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "prometheus-ha_cluster_exporter"

Tue May 24 20:33:42 2022 rev:12 rq:979009 version:1.3.0+git.1653405719.2a65dfc

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/prometheus-ha_cluster_exporter/prometheus-ha_cluster_exporter.changes
    2021-06-01 10:39:10.272987670 +0200
+++ 
/work/SRC/openSUSE:Factory/.prometheus-ha_cluster_exporter.new.2254/prometheus-ha_cluster_exporter.changes
  2022-05-24 20:33:46.711048537 +0200
@@ -1,0 +2,15 @@
+Tue May 24 15:42:59 2022 UTC - [email protected]
+
+- Release 1.3.0
+
+  ## Added
+  - TLS and basic auth support (#200)
+  - sysconfig file now available to override systemd unit CLI arguments (#200)
+
+  ## Changed
+  - **Deprecated**: Some CLI flags were deprecated in favour of new ones 
according to upstream conventions (#200)
+  - Boilerplate now uses the Prometheus Exporter Toolkit (#200)
+  - Rename `master` branch to `main`
+  - Rename dashboard provider subpackage (#196)
+
+-------------------------------------------------------------------

Old:
----
  prometheus-ha_cluster_exporter-1.2.3+git.1622185790.d319147.tar.gz

New:
----
  prometheus-ha_cluster_exporter-1.3.0+git.1653405719.2a65dfc.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ prometheus-ha_cluster_exporter.spec ++++++
--- /var/tmp/diff_new_pack.4ZH92m/_old  2022-05-24 20:33:47.227048998 +0200
+++ /var/tmp/diff_new_pack.4ZH92m/_new  2022-05-24 20:33:47.231049001 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package prometheus-ha_cluster_exporter
 #
-# Copyright (c) 2021 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
@@ -18,7 +18,7 @@
 
 Name:           prometheus-ha_cluster_exporter
 # Version will be processed via set_version source service
-Version:        1.2.3+git.1622185790.d319147
+Version:        1.3.0+git.1653405719.2a65dfc
 Release:        0
 Summary:        Prometheus exporter for Pacemaker HA clusters metrics
 License:        Apache-2.0
@@ -28,10 +28,15 @@
 Source1:        vendor.tar.gz
 BuildRequires:  golang-packaging
 BuildRequires:  golang(API) >= 1.14
+Requires(post): %fillup_prereq
 Provides:       ha_cluster_exporter = %{version}-%{release}
 Provides:       prometheus(ha_cluster_exporter) = %{version}-%{release}
 ExclusiveArch:  aarch64 x86_64 ppc64le s390x
 %{go_nostrip}
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
 
 %description
 Prometheus exporter for Pacemaker HA clusters metrics
@@ -47,7 +52,7 @@
 export CGO_ENABLED=0
 go build -mod=vendor \
          -buildmode=pie \
-         -ldflags="-s -w -X main.version=%{version}" \
+         -ldflags="-s -w -X 
github.com/prometheus/common/version.Version=%{version}" \
          -o %{shortname}
 
 %install
@@ -58,6 +63,9 @@
 # Install the systemd unit
 install -D -m 0644 %{shortname}.service %{buildroot}%{_unitdir}/%{name}.service
 
+# Install the environment file
+install -D -m 0644 %{shortname}.sysconfig 
%{buildroot}%{_fillupdir}/sysconfig.%{name}
+
 # Install compat wrapper for legacy init systems
 install -Dd -m 0755 %{buildroot}%{_sbindir}
 ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
@@ -67,6 +75,7 @@
 
 %post
 %service_add_post %{name}.service
+%fillup_only -n %{name}
 
 %preun
 %service_del_preun %{name}.service
@@ -84,6 +93,7 @@
 %endif
 %{_bindir}/%{shortname}
 %{_unitdir}/%{name}.service
+%{_fillupdir}/sysconfig.%{name}
 %{_sbindir}/rc%{name}
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.4ZH92m/_old  2022-05-24 20:33:47.259049026 +0200
+++ /var/tmp/diff_new_pack.4ZH92m/_new  2022-05-24 20:33:47.263049029 +0200
@@ -1,13 +1,13 @@
 <services>
     <service name="tar_scm" mode="disabled">
-        <param 
name="url">git://github.com/ClusterLabs/ha_cluster_exporter.git</param>
+        <param 
name="url">https://github.com/ClusterLabs/ha_cluster_exporter.git</param>
         <param name="scm">git</param>
-        <param name="revision">1.2.3</param>
+        <param name="revision">1.3.0</param>
         <param name="exclude">.git</param>
         <param name="exclude">.github</param>
         <param name="exclude">dashboards</param>
         <param 
name="exclude">packaging/obs/grafana-ha-cluster-dashboards</param>
-        <param name="version">1.2.3+git.1622185790.d319147</param>
+        <param name="version">1.3.0+git.1653405719.2a65dfc</param>
         <param name="filename">prometheus-ha_cluster_exporter</param>
     </service>
     <service name="set_version" mode="disabled">

++++++ prometheus-ha_cluster_exporter-1.2.3+git.1622185790.d319147.tar.gz -> 
prometheus-ha_cluster_exporter-1.3.0+git.1653405719.2a65dfc.tar.gz ++++++
++++ 3021 lines of diff (skipped)

++++++ vendor.tar.gz ++++++
++++ 199258 lines of diff (skipped)

Reply via email to