Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package
golang-github-lusitaniae-apache_exporter for openSUSE:Factory checked in at
2023-09-04 22:54:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-lusitaniae-apache_exporter
(Old)
and
/work/SRC/openSUSE:Factory/.golang-github-lusitaniae-apache_exporter.new.1766
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-lusitaniae-apache_exporter"
Mon Sep 4 22:54:01 2023 rev:12 rq:1108907 version:1.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-lusitaniae-apache_exporter/golang-github-lusitaniae-apache_exporter.changes
2023-08-18 19:28:05.887287815 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-lusitaniae-apache_exporter.new.1766/golang-github-lusitaniae-apache_exporter.changes
2023-09-04 22:54:59.514757316 +0200
@@ -1,0 +2,5 @@
+Mon Sep 4 10:40:18 UTC 2023 - Witek Bedyk <[email protected]>
+
+- Fix apparmor profile for SLE 12
+
+-------------------------------------------------------------------
@@ -77,0 +83,7 @@
+Wed Mar 18 17:49:17 UTC 2020 - Joao Cavalheiro <[email protected]>
+
+- Add support for RedHat 8
+ + Adjust dependencies on spec file
+ + Disable dwarf compression in go build
+
+-------------------------------------------------------------------
@@ -84,0 +97,5 @@
+
+-------------------------------------------------------------------
+Tue Nov 19 13:08:57 UTC 2019 - Joao Cavalheiro <[email protected]>
+
+- Add support for Red Hat
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-lusitaniae-apache_exporter.spec ++++++
--- /var/tmp/diff_new_pack.scrizB/_old 2023-09-04 22:55:00.842804261 +0200
+++ /var/tmp/diff_new_pack.scrizB/_new 2023-09-04 22:55:00.846804402 +0200
@@ -25,12 +25,18 @@
%undefine _missing_build_ids_terminate_build
%endif
-%if 0%{?suse_version} >= 1500
+%if 0%{?suse_version}
%bcond_without apparmor
%else
%bcond_with apparmor
%endif
+%if %{with apparmor} && 0%{?suse_version} > 1320
+%bcond_without apparmor_reload
+%else
+%bcond_with apparmor_reload
+%endif
+
# Templating vars to simplify and standardize Prometheus exporters spec files
%define githubrepo github.com/lusitaniae/apache_exporter
%define upstreamname apache_exporter
@@ -58,9 +64,13 @@
BuildRequires: golang(API) >= 1.19
Requires(pre): shadow
%if %{with apparmor}
+%if %{with apparmor_reload}
BuildRequires: apparmor-abstractions
BuildRequires: apparmor-rpm-macros
Recommends: apparmor-abstractions
+%else
+BuildRequires: apparmor-profiles
+%endif
%endif
%endif
ExcludeArch: s390
@@ -106,7 +116,7 @@
%systemd_post %{targetname}.service
%else
%service_add_post %{targetname}.service
-%if %{with apparmor}
+%if %{with apparmor_reload}
%apparmor_reload %{_sysconfdir}/apparmor.d/usr.bin.%{targetname}
%endif
%endif