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 2022-05-16 18:08:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/prometheus-blackbox_exporter (Old)
 and      /work/SRC/openSUSE:Factory/.prometheus-blackbox_exporter.new.1538 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "prometheus-blackbox_exporter"

Mon May 16 18:08:38 2022 rev:7 rq:977441 version:0.19.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/prometheus-blackbox_exporter/prometheus-blackbox_exporter.changes
        2022-02-24 18:24:31.466641744 +0100
+++ 
/work/SRC/openSUSE:Factory/.prometheus-blackbox_exporter.new.1538/prometheus-blackbox_exporter.changes
      2022-05-16 18:11:06.097401475 +0200
@@ -1,0 +2,5 @@
+Tue May 10 13:16:59 UTC 2022 - Witek Bedyk <[email protected]>
+
+- Fix %pre section to avoid empty content
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ prometheus-blackbox_exporter.spec ++++++
--- /var/tmp/diff_new_pack.r5vNAe/_old  2022-05-16 18:11:06.601401876 +0200
+++ /var/tmp/diff_new_pack.r5vNAe/_new  2022-05-16 18:11:06.605401879 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package prometheus-blackbox_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
@@ -14,6 +14,8 @@
 
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
+
+
 %if 0%{?rhel} == 8
 %global debug_package %{nil}
 %endif
@@ -36,8 +38,8 @@
 BuildRequires:  fdupes
 BuildRequires:  golang-packaging
 %if 0%{?rhel}
-BuildRequires:  libcap
 BuildRequires:  golang >= 1.14
+BuildRequires:  libcap
 %else
 BuildRequires:  libcap-progs
 BuildRequires:  golang(API) >= 1.14
@@ -70,13 +72,12 @@
 rm -f 
%{buildroot}/usr/lib/debug/%{_bindir}/blackbox_exporter-%{version}-*.debug
 
 %pre
-%if 0%{?suse_version}
-%service_add_pre %{name}.service
-%endif
 %if 0%{?rhel}
 %define serviceuser   prometheus
 getent group %{serviceuser} >/dev/null || %{_sbindir}/groupadd -r 
%{serviceuser}
 getent passwd %{serviceuser} >/dev/null || %{_sbindir}/useradd -r -g 
%{serviceuser} -d %{_localstatedir}/lib/%{serviceuser} -M -s /sbin/nologin 
%{serviceuser}
+%else
+%service_add_pre %{name}.service
 %endif
 
 %post

Reply via email to