Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zk for openSUSE:Factory checked in 
at 2023-01-12 22:45:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zk (Old)
 and      /work/SRC/openSUSE:Factory/.zk.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zk"

Thu Jan 12 22:45:04 2023 rev:3 rq:1057910 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/zk/zk.changes    2022-12-31 11:23:00.416487612 
+0100
+++ /work/SRC/openSUSE:Factory/.zk.new.32243/zk.changes 2023-01-12 
22:45:16.185193840 +0100
@@ -1,0 +2,18 @@
+Thu Jan  5 06:30:37 UTC 2023 - Soc Virnyl Estela <[email protected]>
+
+- Fix specfile.
+  * Remove usage of golang-packaging macros. Buggy
+- Reset to latest shipped c_compiler.
+
+-------------------------------------------------------------------
+Sat Dec 31 16:05:29 UTC 2022 - Soc Virnyl Estela <[email protected]>
+
+- Set gcc less than version 12.
+- Requires fzf.
+
+-------------------------------------------------------------------
+Sat Dec 31 06:15:12 UTC 2022 - Soc Virnyl Estela <[email protected]>
+
+- add -tags "fts5" for build and install.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ zk.spec ++++++
--- /var/tmp/diff_new_pack.w53nXB/_old  2023-01-12 22:45:16.825197433 +0100
+++ /var/tmp/diff_new_pack.w53nXB/_new  2023-01-12 22:45:16.833197478 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zk
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,22 +25,30 @@
 URL:            https://github.com/mickael-menu/zk
 Source0:        
https://github.com/mickael-menu/zk/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        vendor.tar.gz
-BuildRequires:  golang-packaging
-Recommends:     fzf
+BuildRequires:  c_compiler
+BuildRequires:  golang(API)
+BuildRequires:  pkgconfig(icu-io)
+BuildRequires:  pkgconfig(sqlite3)
+Requires:       fzf
 
 %description
 Zk is a plain text note-taking assistant for markdown.
 It is a command-line tool helping you to maintain a plain text Zettelkasten or 
personal wiki.
 
 %prep
-%setup -q -a 1
+%setup -qa1
 
 %build
-%goprep github.com/mickael-menu/zk
-%gobuild
+%ifarch ppc64
+BUILDMOD=""
+%else
+BUILDMOD="-buildmode=pie"
+%endif
+export RPM_OPT_FLAGS="%{optflags}"
+go build -v -x -mod=vendor $BUILDMOD -a -ldflags "-s -X 
main.revision=%{version}" --tags "icu json1 fts5 secure_delete"
 
 %install
-%goinstall
+install -Dm755 zk %{buildroot}%{_bindir}/zk
 
 %files
 %{_bindir}/%{name}

Reply via email to