commit golang-github-lusitaniae-apache_exporter for openSUSE:Factory
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-11-27 22:43:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/golang-github-lusitaniae-apache_exporter (Old) and /work/SRC/openSUSE:Factory/.golang-github-lusitaniae-apache_exporter.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "golang-github-lusitaniae-apache_exporter" Mon Nov 27 22:43:49 2023 rev:13 rq:1129062 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/golang-github-lusitaniae-apache_exporter/golang-github-lusitaniae-apache_exporter.changes 2023-09-04 22:54:59.514757316 +0200 +++ /work/SRC/openSUSE:Factory/.golang-github-lusitaniae-apache_exporter.new.25432/golang-github-lusitaniae-apache_exporter.changes 2023-11-27 22:44:20.811985355 +0100 @@ -1,0 +2,8 @@ +Tue Nov 21 15:05:11 UTC 2023 - Marina Latini <marina.latini@suse.com> + +- Do not strip if SUSE Linux Enterprise 15 SP3 +- Exclude debug for RHEL >= 8 +- Build with Go >= 1.20 when the OS is not RHEL +- Spec file clean up + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ golang-github-lusitaniae-apache_exporter.spec ++++++ --- /var/tmp/diff_new_pack.y3RlSp/_old 2023-11-27 22:44:21.348005122 +0100 +++ /var/tmp/diff_new_pack.y3RlSp/_new 2023-11-27 22:44:21.348005122 +0100 @@ -18,11 +18,18 @@ %if 0%{?rhel} -%if 0%{?rhel} == 8 +%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 +%{go_nostrip} +%endif + +%if 0%{?sle_version} == 150300 && !0%{?is_opensuse} + %{go_nostrip} %endif %if 0%{?suse_version} @@ -61,7 +68,7 @@ BuildRequires: golang >= 1.18 Requires(pre): shadow-utils %else -BuildRequires: golang(API) >= 1.19 +BuildRequires: golang(API) >= 1.20 Requires(pre): shadow %if %{with apparmor} %if %{with apparmor_reload} @@ -87,11 +94,11 @@ GOPATH=%{_builddir}/go promu build %install -install -D -m0755 %{_builddir}/%{upstreamname}-%{version}/%{upstreamname}-%{version} %{buildroot}/%{_bindir}/%{targetname} +install -D -m 0755 %{_builddir}/%{upstreamname}-%{version}/%{upstreamname}-%{version} %{buildroot}/%{_bindir}/%{targetname} install -d -m 0755 %{buildroot}%{_unitdir} install -m 0644 %{SOURCE2} %{buildroot}%{_unitdir} install -d -m 0755 %{buildroot}%{_sbindir} -ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{targetname} +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{targetname} %if %{with apparmor} # AppArmor profile mkdir -p %{buildroot}%{_sysconfdir}/apparmor.d @@ -101,7 +108,7 @@ %check %if 0%{?rhel} # Fix OBS debug_package execution. -rm -f %{buildroot}/usr/lib/debug/%{_bindir}/%{targetname}-%{version}-*.debug +rm -f %{buildroot}/usr/lib/debug%{_bindir}/%{targetname}-%{version}-*.debug %endif %pre
participants (1)
-
Source-Sync