Hello community,

here is the log from the commit of package golang-github-prometheus-promu for 
openSUSE:Factory checked in at 2020-03-08 22:23:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-promu (Old)
 and      /work/SRC/openSUSE:Factory/.golang-github-prometheus-promu.new.26092 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-github-prometheus-promu"

Sun Mar  8 22:23:04 2020 rev:3 rq:781606 version:0.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-github-prometheus-promu/golang-github-prometheus-promu.changes
    2019-02-11 21:24:11.283119218 +0100
+++ 
/work/SRC/openSUSE:Factory/.golang-github-prometheus-promu.new.26092/golang-github-prometheus-promu.changes
 2020-03-08 22:23:28.184052743 +0100
@@ -1,0 +2,18 @@
+Fri Feb  7 17:13:26 UTC 2020 - Witek Bedyk <witold.be...@suse.com>
+
+- Update to 0.5.0
+  + Features:
+    * Add support for aix/ppc64. #151
+    * Fallback to git describe output if no VERSION. #130
+    * Make extldflags extensible by configuration. #125
+  + Enhancements:
+    * cmd/release: add --timeout option. #142
+    * cmd/release: create release in GitHub if none exists. #148
+    * Avoid bind-mounting to allow building with a remote docker engine #95
+  + Bug Fixes:
+    * cmd/tarball: restore --prefix flag. #133
+    * cmd/release: don't leak credentials in case of error. #136
+
+- Use obs-service-go_modules
+
+-------------------------------------------------------------------

Old:
----
  promu-0.2.0.tar.xz

New:
----
  promu-0.5.0.tar.gz
  vendor.tar.gz

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

Other differences:
------------------
++++++ golang-github-prometheus-promu.spec ++++++
--- /var/tmp/diff_new_pack.LGCw0x/_old  2020-03-08 22:23:30.260054024 +0100
+++ /var/tmp/diff_new_pack.LGCw0x/_new  2020-03-08 22:23:30.264054027 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package golang-github-prometheus-promu
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,16 @@
 %{go_nostrip}
 
 Name:           golang-github-prometheus-promu
-Version:        0.2.0
+Version:        0.5.0
 Release:        0
 Summary:        Prometheus Utility Tool
 License:        Apache-2.0
 Group:          System/Management
-Url:            https://github.com/prometheus/promu
-Source:         promu-%{version}.tar.xz
-BuildRequires:  go1.11
+URL:            https://github.com/prometheus/promu
+Source:         promu-%{version}.tar.gz
+Source1:        vendor.tar.gz
+BuildRequires:  go >= 1.11
 BuildRequires:  golang-packaging
-BuildRequires:  xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{go_provides}
 
@@ -37,13 +37,20 @@
 
 %prep
 %setup -q -n promu-%{version}
+%setup -q -T -D -a 1 -n promu-%{version}
 
 %build
 %goprep github.com/prometheus/promu
-%gobuild
+export VERSION=%{version}
+export CGO_ENABLED=0
+go build \
+   -mod=vendor \
+   -buildmode=pie \
+   -ldflags "-s -w -X main.version=$VERSION" \
+   -o promu ;
 
 %install
-%goinstall
+install -D -m 0755 promu "%{buildroot}/%{_bindir}/promu"
 %gosrc
 
 %gofilelist

++++++ _service ++++++
--- /var/tmp/diff_new_pack.LGCw0x/_old  2020-03-08 22:23:30.288054041 +0100
+++ /var/tmp/diff_new_pack.LGCw0x/_new  2020-03-08 22:23:30.288054041 +0100
@@ -3,14 +3,18 @@
     <param name="url">https://github.com/prometheus/promu.git</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="versionformat">0.2.0</param>
-    <param name="revision">v0.2.0</param>
+    <param name="versionformat">@PARENT_TAG@</param>
+    <param name="revision">v0.5.0</param>
+    <param name="versionrewrite-pattern">v(.*)</param>
   </service>
   <service name="recompress" mode="disabled">
-    <param name="file">promu-*.tar</param>
-    <param name="compression">xz</param>
+    <param name="file">*.tar</param>
+    <param name="compression">gz</param>
   </service>
   <service name="set_version" mode="disabled">
     <param name="basename">promu</param>
   </service>
+  <service name="go_modules" mode="disabled">
+    <param name="archive">promu-0.5.0.tar.gz</param>
+  </service>
 </services>


Reply via email to