diff --git a/fzf-0.32.0.tar.gz b/fzf-0.32.0.tar.gz deleted file mode 100644 index d30667f..0000000 --- a/fzf-0.32.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3502c15faeb0a6d553c68ab1a7f472af08afed94a1d016427a8ab053ef149a8f -size 212066 diff --git a/fzf-0.33.0.tar.gz b/fzf-0.33.0.tar.gz new file mode 100644 index 0000000..e1e561a --- /dev/null +++ b/fzf-0.33.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:136ddddfdb229631b08ea7e67be965bcf9c95f5fe1360b80b11f81aa64ba19ad +size 212698 diff --git a/fzf.changes b/fzf.changes index 5fa516f..63e7c7e 100644 --- a/fzf.changes +++ b/fzf.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Mon Sep 5 14:04:02 UTC 2022 - Jorik Cronenberg + +- Update to 0.33.0: + - Added --scheme=[default|path|history] option to choose scoring scheme + - (Experimental) + - We updated the scoring algorithm in 0.32.0, however we have learned that + this new scheme (default) is not always giving the optimal result + - path: Additional bonus point is only given to the the characters after + path separator. You might want to choose this scheme if you have many + files with spaces in their paths. + - history: No additional bonus points are given so that we give more + weight to the chronological ordering. This is equivalent to the scoring + scheme before 0.32.0. This also sets --tiebreak=index. + + - ANSI color sequences with colon delimiters are now supported. + printf "\e[38;5;208mOption 1\e[m\nOption 2" | fzf --ansi + printf "\e[38:5:208mOption 1\e[m\nOption 2" | fzf --ansi + + - Support border-{up,down} as the synonyms for border-{top,bottom} in + --preview-window + - Added support for ANSI strikethrough + printf "\e[9mdeleted" | fzf --ansi + fzf --color fg+:strikethrough + ------------------------------------------------------------------- Wed Aug 3 14:31:08 UTC 2022 - Matej Cepl diff --git a/fzf.spec b/fzf.spec index 81e8c0f..3d9b051 100644 --- a/fzf.spec +++ b/fzf.spec @@ -17,7 +17,7 @@ Name: fzf -Version: 0.32.0 +Version: 0.33.0 Release: 0 Summary: A command-line fuzzy finder License: MIT @@ -25,7 +25,7 @@ Group: Productivity/File utilities URL: https://github.com/junegunn/fzf Source0: https://github.com/junegunn/fzf/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.xz -BuildRequires: golang(API) = 1.18 +BuildRequires: golang(API) >= 1.17 %description fzf is an interactive Unix filter for command-line that can be used with any list; files, @@ -104,7 +104,7 @@ BUILDMOD="" BUILDMOD="-buildmode=pie" %endif export RPM_OPT_FLAGS="%{optflags}" -go build -v -x -mod=vendor $BUILDMOD -a -ldflags "-X main.revision=%{version}" +go build -v -x -mod=vendor $BUILDMOD -a -ldflags "-s -X main.revision=%{version}" %install install -Dm755 fzf %{buildroot}%{_bindir}/fzf diff --git a/vendor.tar.xz b/vendor.tar.xz index 6ec67cc..c321321 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f72530ac494d377196fff4446ab8a1b033f2b078b21594248dceea1cdd2940f4 -size 1307584 +oid sha256:8697d8064955fc274a7ce57be9e2ff314f3be5e07e2d516eb7bb705d3c3e592f +size 1323764