Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package golang-github-prometheus-promu for 
openSUSE:Factory checked in at 2022-10-10 18:44:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-promu (Old)
 and      /work/SRC/openSUSE:Factory/.golang-github-prometheus-promu.new.2275 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-github-prometheus-promu"

Mon Oct 10 18:44:24 2022 rev:10 rq:1008349 version:0.13.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-github-prometheus-promu/golang-github-prometheus-promu.changes
    2022-05-17 17:23:55.295143097 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-github-prometheus-promu.new.2275/golang-github-prometheus-promu.changes
  2022-10-10 18:45:04.922935746 +0200
@@ -1,0 +2,6 @@
+Tue Sep 27 12:37:42 UTC 2022 - Dirk M??ller <[email protected]>
+
+- switch to go1.17 as upstream does (see 
https://github.com/prometheus/promu/blob/v0.13.0/.promu.yml)
+- remove go_nostrip as it isn't necessary with 1.17 anymore
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ golang-github-prometheus-promu.spec ++++++
--- /var/tmp/diff_new_pack.NPvvGC/_old  2022-10-10 18:45:05.390936752 +0200
+++ /var/tmp/diff_new_pack.NPvvGC/_new  2022-10-10 18:45:05.398936770 +0200
@@ -16,13 +16,6 @@
 #
 
 
-%if 0%{?rhel}
-# Fix ERROR: No build ID note found in
-%undefine _missing_build_ids_terminate_build
-%endif
-
-%{go_nostrip}
-
 Name:           golang-github-prometheus-promu
 Version:        0.13.0
 Release:        0
@@ -34,14 +27,15 @@
 Source1:        vendor.tar.gz
 Patch1:         0001-Set-build-date-from-SOURCE_DATE_EPOCH.patch
 BuildRequires:  golang-packaging
+ExcludeArch:    s390
+%{go_provides}
 %if 0%{?rhel}
-BuildRequires:  golang >= 1.15
+# Fix ERROR: No build ID note found in
+%undefine _missing_build_ids_terminate_build
+BuildRequires:  golang >= 1.17
 %else
-BuildRequires:  golang(API) = 1.15
+BuildRequires:  golang(API) = 1.17
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-ExcludeArch:    s390
-%{go_provides}
 
 %description
 The Prometheus Utility Tool is used by the Prometheus project to build other 
components.
@@ -50,7 +44,7 @@
 %autosetup -a1 -p1 -n promu-%{version}
 
 %build
-%goprep github.com/prometheus/promu
+%{goprep} github.com/prometheus/promu
 export VERSION=%{version}
 export CGO_ENABLED=0
 go build \
@@ -61,12 +55,11 @@
 
 %install
 install -D -m 0755 promu "%{buildroot}/%{_bindir}/promu"
-%gosrc
+%{gosrc}
 
-%gofilelist
+%{gofilelist}
 
 %files -f file.lst
-%defattr(-,root,root,-)
 %doc README.md
 %license LICENSE
 %{_bindir}/promu

Reply via email to