[packages/fzf] up to 0.68.0
atler
atler at pld-linux.org
Fri Feb 20 15:33:03 CET 2026
commit 63e1b76b1d125bc9c974e850b53d387ee15fecd1
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Feb 20 15:32:43 2026 +0100
up to 0.68.0
fzf.spec | 14 +++++++-------
install.patch | 24 ++++++++++--------------
2 files changed, 17 insertions(+), 21 deletions(-)
---
diff --git a/fzf.spec b/fzf.spec
index 9b40ebe..065f36b 100644
--- a/fzf.spec
+++ b/fzf.spec
@@ -1,20 +1,20 @@
# TODO:
# - package vendored modules
-%define fzfrev 8cdfb23
-%define fzfvimrev 879db51
-%define fzfgitrev 279050e
+%define fzfrev b908f7a
+%define fzfvimrev 34a564c
+%define fzfgitrev 34cd6c9
%define vendor_version 0.66.0
Summary: A command-line fuzzy finder written in Go
Name: fzf
-Version: 0.66.0
+Version: 0.68.0
Release: 1
License: MIT
Group: Applications/Shells
#Source0Download: https://github.com/junegunn/fzf/releases
Source0: https://github.com/junegunn/fzf/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: e2b1ef1e3429e58f6114410f465b53d0
+# Source0-md5: 2d79bdf152f0af2145ccba6691bdbfbd
# cd fzf-%{version}
# go mod vendor
# cd ..
@@ -22,9 +22,9 @@ Source0: https://github.com/junegunn/fzf/archive/v%{version}/%{name}-%{version}.
Source1: %{name}-vendor-%{vendor_version}.tar.xz
# Source1-md5: 5817cc5bb4b0b085a9f66c212a81d73f
Source2: https://github.com/junegunn/fzf.vim/archive/%{fzfvimrev}/fzf.vim-%{fzfvimrev}.tar.gz
-# Source2-md5: 9b86d3009e3bab714edd2cfaf859e773
+# Source2-md5: 5c916e68feac7cc12ee33f6b02611839
Source3: https://github.com/junegunn/fzf-git.sh/archive/%{fzfgitrev}/fzf-git.sh-%{fzfgitrev}.tar.gz
-# Source3-md5: ec0044c9f7b62272e414b8c19249e663
+# Source3-md5: 238f027694e5cde999c0996e346d57bb
Patch0: install.patch
URL: https://github.com/junegunn/fzf
BuildRequires: golang >= 1.23.0
diff --git a/install.patch b/install.patch
index a953b66..97f637e 100644
--- a/install.patch
+++ b/install.patch
@@ -2,8 +2,8 @@
1. disabled download as we pre-package
1. fix paths to completions
---- fzf-0.34.0/install~ 2022-09-30 09:21:44.085976824 +0300
-+++ fzf-0.34.0/install 2022-09-30 09:29:08.782477314 +0300
+--- fzf-0.68.0/install.orig 2026-02-20 03:03:46.000000000 +0100
++++ fzf-0.68.0/install 2026-02-20 15:24:27.955737193 +0100
@@ -6,7 +6,7 @@
auto_completion=
key_bindings=
@@ -24,7 +24,7 @@
binary_available=1
binary_error=""
case "$archi" in
-@@ -184,6 +185,10 @@
+@@ -189,6 +190,10 @@
Windows*\ *64*) download fzf-$version-windows_amd64.zip ;;
*) binary_available=0 binary_error=1 ;;
esac
@@ -35,21 +35,17 @@
cd "$fzf_base"
if [ -n "$binary_error" ]; then
-@@ -247,12 +252,12 @@
- src=${prefix_expand}.${shell}
- echo -n "Generate $src ... "
+@@ -243,8 +248,8 @@
+ echo
+ for shell in $shells; do
- fzf_completion="source \"$fzf_base/shell/completion.${shell}\""
-+ fzf_completion="source \"/usr/share/fzf/completion.${shell}\""
- if [ $auto_completion -eq 0 ]; then
- fzf_completion="# $fzf_completion"
- fi
-
- fzf_key_bindings="source \"$fzf_base/shell/key-bindings.${shell}\""
++ fzf_completion="source \"/usr/share/fzf/completion.${shell}\""
+ fzf_key_bindings="source \"/usr/share/fzf/key-bindings.${shell}\""
- if [ $key_bindings -eq 0 ]; then
- fzf_key_bindings="# $fzf_key_bindings"
- fi
+ [[ $shell == fish ]] && continue
+ src=${prefix_expand}.${shell}
+ echo -n "Generate $src ... "
@@ -260,9 +265,6 @@
cat > "$src" << EOF
# Setup fzf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fzf.git/commitdiff/63e1b76b1d125bc9c974e850b53d387ee15fecd1
More information about the pld-cvs-commit
mailing list