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 
2026-10-20 12:42:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-lusitaniae-apache_exporter 
(Old)
 and      
/work/SRC/openSUSE:Factory/.golang-github-lusitaniae-apache_exporter.new.3698736
 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-github-lusitaniae-apache_exporter"

Tue Oct 20 12:42:15 2026 rev:24 rq:1386293 version:1.1.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-github-lusitaniae-apache_exporter/golang-github-lusitaniae-apache_exporter.changes
        2026-10-05 15:46:51.685650038 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-github-lusitaniae-apache_exporter.new.3698736/golang-github-lusitaniae-apache_exporter.changes
   2026-10-20 12:42:30.615005876 +0200
@@ -1,0 +2,5 @@
+Mon Oct 12 13:10:07 UTC 2026 - Witek Bedyk <[email protected]>
+
+- Do not build for EL
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ golang-github-lusitaniae-apache_exporter.spec ++++++
--- /var/tmp/diff_new_pack.WWUSWW/_old  2026-10-20 12:42:31.364037225 +0200
+++ /var/tmp/diff_new_pack.WWUSWW/_new  2026-10-20 12:42:31.366037308 +0200
@@ -22,15 +22,6 @@
 %define        upstreamname  apache_exporter
 %define        targetname    prometheus-apache_exporter
 %define        serviceuser   prometheus
-%if 0%{?rhel}
-%if 0%{?rhel} >= 8
-# Found compressed .debug_abbrev section, not attempting dwz compression
-# DWARF version 0 unhandled
-%global debug_package %{nil}
-%endif
-# Fix ERROR: No build ID note found in
-%undefine _missing_build_ids_terminate_build
-%endif
 %if 0%{?suse_version} && 0%{?suse_version} < 1600
 %bcond_without apparmor
 %else
@@ -53,12 +44,6 @@
 Source3:        apparmor-usr.bin.%{targetname}
 BuildRequires:  fdupes
 BuildRequires:  golang-github-prometheus-promu
-ExcludeArch:    s390
-%{?systemd_ordering}
-%if 0%{?rhel}
-BuildRequires:  golang >= 1.20
-Requires(pre):  shadow-utils
-%else
 BuildRequires:  golang(API) >= 1.25
 Requires(pre):  shadow
 %if %{with apparmor}
@@ -70,8 +55,10 @@
 BuildRequires:  apparmor-profiles
 %endif
 %endif
-%endif
-%if 0%{?debian} || 0%{?ubuntu}
+ExcludeArch:    s390
+%{?systemd_ordering}
+
+%if ! 0%{?suse_version}
 ExclusiveArch:  do_not_build
 %endif
 
@@ -96,43 +83,22 @@
 install -m 0644 %{SOURCE3} 
%{buildroot}%{_sysconfdir}/apparmor.d/usr.bin.%{targetname}
 %endif
 
-%check
-%if 0%{?rhel}
-# Fix OBS debug_package execution.
-rm -f 
%{buildroot}%{_prefix}/lib/debug%{_bindir}/%{targetname}-%{version}-*.debug
-rm -rf %{buildroot}%{_usrsrc}/debug/%{name}-%{version}-*
-%endif
-
 %pre
-%if 0%{?suse_version}
 %service_add_pre %{targetname}.service
-%endif
 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}
 
 %post
-%if 0%{?rhel}
-%{systemd_post} %{targetname}.service
-%else
 %service_add_post %{targetname}.service
 %if %{with apparmor_reload}
 %apparmor_reload %{_sysconfdir}/apparmor.d/usr.bin.%{targetname}
 %endif
-%endif
 
 %preun
-%if 0%{?rhel}
-%systemd_preun %{targetname}.service
-%else
 %service_del_preun %{targetname}.service
-%endif
 
 %postun
-%if 0%{?rhel}
-%{systemd_postun} %{targetname}.service
-%else
 %service_del_postun %{targetname}.service
-%endif
 
 %files
 %doc README.md

Reply via email to