Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gojq for openSUSE:Factory checked in 
at 2023-05-14 16:31:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gojq (Old)
 and      /work/SRC/openSUSE:Factory/.gojq.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gojq"

Sun May 14 16:31:50 2023 rev:2 rq:1087017 version:0.12.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/gojq/gojq.changes        2023-05-12 
20:41:09.371143097 +0200
+++ /work/SRC/openSUSE:Factory/.gojq.new.1533/gojq.changes      2023-05-14 
16:34:20.523961580 +0200
@@ -1,0 +2,10 @@
+Sat May 13 20:12:11 UTC 2023 - Arnav Singh <opens...@arnavion.dev>
+
+- Restrict minumum golang version to the one listed in go.mod
+
+-------------------------------------------------------------------
+Sat May 13 20:00:43 UTC 2023 - Arnav Singh <opens...@arnavion.dev>
+
+- Disable -buildmode=pie on ppc64, and add some verbosity flags.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gojq.spec ++++++
--- /var/tmp/diff_new_pack.tf9olp/_old  2023-05-14 16:34:20.995963999 +0200
+++ /var/tmp/diff_new_pack.tf9olp/_new  2023-05-14 16:34:20.999964019 +0200
@@ -24,6 +24,7 @@
 URL:            https://github.com/itchyny/gojq
 Source0:        
%{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        vendor.tar.gz
+BuildRequires:  go >= 1.18
 BuildRequires:  golang-packaging
 
 %description
@@ -33,7 +34,12 @@
 %autosetup -p1 -a1
 
 %build
-go build -mod=vendor -buildmode=pie ./cmd/gojq
+%ifarch ppc64
+BUILDMODE=''
+%else
+BUILDMODE='-buildmode=pie'
+%endif
+go build -a -v -x -mod=vendor $BUILDMODE ./cmd/gojq
 
 %install
 install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}

Reply via email to