Accepting request 925521 from utilities

- Update to 0.27.3:
  - Preview window is `hidden` by default when there are `preview` bindings but
    `--preview` command is not given
  - Fixed bug where `{n}` is not properly reset on `reload`
  - Fixed bug where spinner is not displayed on `reload`
  - Enhancements in tcell renderer for Windows (#2616)
  - Vim plugin
      - `sinklist` is added as a synonym to `sink*` so that it's
        easier to add a function to a spec dictionary
        ```vim
        let spec = { 'source': 'ls', 'options': ['--multi', '--preview', 'cat {}'] }
        function spec.sinklist(matches)
          echom string(a:matches)
        endfunction
  
        call fzf#run(fzf#wrap(spec))
        ```
  - Vim 7 compatibility
- Set FZF_VERSION and FZF_REVISION environment variables as well.

OBS-URL: https://build.opensuse.org/request/show/925521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2021-10-15 21:04:36 +00:00 committed by Git OBS Bridge
commit 1bb8b821f7
5 changed files with 31 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7798a9e22fc363801131456dc21026ccb0f037aed026d17df60b1178b3f24111
size 191941

3
0.27.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0ad8dc6dd5c7a0c87ad623c0d9164cc2861489b76cb7a8b66f51cb4f9a81254
size 202761

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Fri Oct 15 16:01:21 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Update to 0.27.3:
- Preview window is `hidden` by default when there are `preview` bindings but
`--preview` command is not given
- Fixed bug where `{n}` is not properly reset on `reload`
- Fixed bug where spinner is not displayed on `reload`
- Enhancements in tcell renderer for Windows (#2616)
- Vim plugin
- `sinklist` is added as a synonym to `sink*` so that it's
easier to add a function to a spec dictionary
```vim
let spec = { 'source': 'ls', 'options': ['--multi', '--preview', 'cat {}'] }
function spec.sinklist(matches)
echom string(a:matches)
endfunction
call fzf#run(fzf#wrap(spec))
```
- Vim 7 compatibility
- Set FZF_VERSION and FZF_REVISION environment variables as well.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 1 08:37:07 UTC 2021 - Matej Cepl <mcepl@suse.com> Tue Jun 1 08:37:07 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -17,7 +17,7 @@
Name: fzf Name: fzf
Version: 0.27.2 Version: 0.27.3
Release: 0 Release: 0
Summary: A command-line fuzzy finder Summary: A command-line fuzzy finder
License: MIT License: MIT
@ -26,7 +26,7 @@ URL: https://github.com/junegunn/fzf
Source0: https://github.com/junegunn/%{name}/archive/%{version}.tar.gz Source0: https://github.com/junegunn/%{name}/archive/%{version}.tar.gz
# Run go build && go mod vendor to get vendor/ subdirectory # Run go build && go mod vendor to get vendor/ subdirectory
Source1: vendor.tar.xz Source1: vendor.tar.xz
BuildRequires: golang(API) >= 1.12 BuildRequires: golang(API) >= 1.13
%description %description
fzf is an interactive Unix filter for command-line that can be used with any list; files, fzf is an interactive Unix filter for command-line that can be used with any list; files,
@ -97,6 +97,7 @@ Plugin for vim allowing use of fzf.
sed -i 's,#!%{_bindir}/env ,#!/bin/,' ./bin/fzf-tmux sed -i 's,#!%{_bindir}/env ,#!/bin/,' ./bin/fzf-tmux
%build %build
export FZF_VERSION=%{version} FZF_REVISION=tarball
export GOCACHE=$(readlink -f vendor/) export GOCACHE=$(readlink -f vendor/)
%ifarch ppc64 %ifarch ppc64
BUILDMOD="" BUILDMOD=""

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:94bfe33825feaef76abf9405c1d1b0809f47a39db1d78cda7ff888f105911d58 oid sha256:cc7643f18eeed78461d55efa9cb29448d3be415150ba4e1b37067f247f357404
size 1269200 size 1272940