# TODO:
# - package vendored modules
-%define fzfrev 04d0b02
-%define fzfvimrev 9ceac71
-%define fzfgitrev 9190e1b
-%define vendor_version 0.34.0
+%define fzfrev d579e33
+%define fzfvimrev e69f2dc
+%define fzfgitrev e4cba1f
+%define vendor_version 0.48.1
Summary: A command-line fuzzy finder written in Go
Name: fzf
-Version: 0.34.0
+Version: 0.48.1
Release: 1
License: MIT
Group: Applications/Shells
#Source0Download: https://github.com/junegunn/fzf/releases
Source0: https://github.com/junegunn/fzf/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: c944fc51ba24f73ecc44bf240f374001
+# Source0-md5: 90fe9b06d9e0f95b3f1625770e35cee1
# cd fzf-%{version}
# go mod vendor
# cd ..
# tar cJf fzf-vendor-%{version}.tar.xz fzf-%{version}/vendor
Source1: %{name}-vendor-%{vendor_version}.tar.xz
-# Source1-md5: cd1672b3da7985ddc0709862274a007f
+# Source1-md5: 5e1d5adc9da9a5272db200c463859adf
Source2: https://github.com/junegunn/fzf.vim/archive/%{fzfvimrev}/fzf.vim-%{fzfvimrev}.tar.gz
-# Source2-md5: cf33165a5e500c85838fa994683b2e5d
+# Source2-md5: 47d796316e5d1ac7f4331e0750255681
Source3: https://github.com/junegunn/fzf-git.sh/archive/%{fzfgitrev}/fzf-git.sh-%{fzfgitrev}.tar.gz
-# Source3-md5: 66a5b104f7e6f67c0b4f8556f1a22583
+# Source3-md5: bf90cb19d1b74e74a55c140223c34d12
Patch0: install.patch
URL: https://github.com/junegunn/fzf
-BuildRequires: golang >= 1.13
+BuildRequires: golang >= 1.17
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 2.009
BuildRequires: sed >= 4.0