Hello community,
here is the log from the commit of package fzf for openSUSE:Factory checked in at 2019-04-19 18:39:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fzf (Old)
and /work/SRC/openSUSE:Factory/.fzf.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fzf"
Fri Apr 19 18:39:38 2019 rev:2 rq:695858 version:0.18.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/fzf/fzf.changes 2019-04-04 15:27:07.086891379 +0200
+++ /work/SRC/openSUSE:Factory/.fzf.new.5536/fzf.changes 2019-04-19 18:39:44.519288271 +0200
@@ -1,0 +2,23 @@
+Thu Apr 18 21:21:59 CEST 2019 - Matej Cepl
+
+- Update to 0.18.0:
+ - 0.18.0
+ - Added placeholder expression for zero-based item index: {n}
+ and {+n} fzf --preview 'echo {n}: {}'
+ - Added color option for the gutter: --color gutter:-1
+ - Added --no-unicode option for drawing borders in
+ non-Unicode, ASCII characters
+ - FZF_PREVIEW_LINES and FZF_PREVIEW_COLUMNS are exported to
+ preview process fzf still overrides LINES and COLUMNS as
+ before, but they may be reset by the default shell.
+ - Bug fixes and improvements See
+ https://github.com/junegunn/fzf/milestone/14?closed=1
+ - Update to 0.17.5:
+ - Bug fixes and improvements See
+ https://github.com/junegunn/fzf/milestone/13?closed=1
+ - Search query longer than the screen width is allowed (up to
+ 300 chars)
+- Patch build-mode-pie.patch removed as it is unneeded
+ (we don't use Makefile anymore).
+
+-------------------------------------------------------------------
Old:
----
build-mode-pie.patch
fzf-0.17.4.tar.gz
New:
----
fzf-0.18.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ fzf.spec ++++++
--- /var/tmp/diff_new_pack.KJqX0h/_old 2019-04-19 18:39:45.587289627 +0200
+++ /var/tmp/diff_new_pack.KJqX0h/_new 2019-04-19 18:39:45.591289632 +0200
@@ -1,7 +1,7 @@
#
# spec file for package fzf
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,21 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: fzf
-Version: 0.17.4
+Version: 0.18.0
Release: 0
Summary: A command-line fuzzy finder
License: MIT
Group: Productivity/File utilities
URL: https://github.com/junegunn/fzf
Source0: https://github.com/junegunn/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# Run go build && go mod vendor to get vendor/ subdirectory
Source1: vendor.tar.xz
-# PATCH-FIX-SUSE Build a position independent executable
-Patch0: build-mode-pie.patch
-BuildRequires: golang(API) >= 1.7
+BuildRequires: golang(API) >= 1.12
%description
fzf is an interactive Unix filter for command-line that can be used with any list; files,
@@ -35,6 +34,7 @@
%package tmux
Summary: Tmux integration for fzf
+Group: Productivity/File utilities
Supplements: packageand(fzf:tmux)
BuildArch: noarch
@@ -44,6 +44,7 @@
%package bash-completion
Summary: Bash completion for fzf
+Group: Productivity/File utilities
Requires: bash-completion
Supplements: packageand(fzf:bash)
BuildArch: noarch
@@ -53,6 +54,7 @@
%package zsh-completion
Summary: ZSH completion for fzf
+Group: Productivity/File utilities
Supplements: packageand(fzf:zsh)
BuildArch: noarch
@@ -63,6 +65,7 @@
%package -n vim-fzf
Summary: Vim plugin for fzf
+Group: Productivity/File utilities
BuildArch: noarch
%description -n vim-fzf
@@ -70,16 +73,22 @@
%prep
%setup -q -a1
-%patch0 -p1
+tar xf %{SOURCE1}
# fix E: env-script-interpreter
sed -i 's,#!%{_bindir}/env ,#!/bin/,' ./bin/fzf-tmux
%build
-make %{?_smp_mflags}
+export GOCACHE=$(readlink -f vendor/)
+%ifarch ppc64
+BUILDMOD=""
+%else
+BUILDMOD="-buildmode=pie"
+%endif
+export RPM_OPT_FLAGS="%{optflags}"
+go build -v -x -mod=vendor $BUILDMOD -a -ldflags "-X main.revision=%{version}"
%install
-make bin/fzf
-install -Dm755 bin/fzf %{buildroot}%{_bindir}/fzf
+install -Dm755 fzf %{buildroot}%{_bindir}/fzf
install -Dm755 bin/fzf-tmux %{buildroot}%{_bindir}/fzf-tmux
install -Dm644 man/man1/fzf.1 %{buildroot}%{_mandir}/man1/fzf.1
install -Dm644 man/man1/fzf-tmux.1 %{buildroot}%{_mandir}/man1/fzf-tmux.1
++++++ fzf-0.17.4.tar.gz -> fzf-0.18.0.tar.gz ++++++
++++ 2574 lines of diff (skipped)
++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/fzf/vendor.tar.xz /work/SRC/openSUSE:Factory/.fzf.new.5536/vendor.tar.xz differ: char 17, line 1