%global debug_package %{nil} Name: fzf Version: 0.74.3 Release: 1%{?dist} Summary: Command line fuzzy finder and an interactive terminal toolkit License: MIT URL: https://github.com/junegunn/fzf Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: golang %description Whether you're selecting files, browsing command history, previewing data, navigating complex datasets with fuzzy matching, or creating custom menus and workflows, fzf provides the building blocks to turn shell scripts into rich terminal applications. %prep %autosetup %build go build -buildmode=pie -o bin/%{name} \ -ldflags="-s -w -X main.version=%{version} -X main.revision=cli-tools" %install install -Dpm 0755 -t %{buildroot}%{_bindir}/ bin/%{name} bin/%{name}-tmux install -Dpm 0644 -t %{buildroot}%{_mandir}/man1 man/man1/%{name}.1 man/man1/%{name}-tmux.1 # Install in /etc instead of /usr/share # See https://bugzilla.redhat.com/show_bug.cgi?id=1789958 install -Dpm 0644 shell/completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/fzf install -Dpm 0644 shell/completion.fish %{buildroot}%{fish_completions_dir}/fzf.fish install -Dpm 0644 shell/completion.zsh %{buildroot}%{zsh_completions_dir}/_fzf %check go test ./... %files %license LICENSE %doc README.md ADVANCED.md doc/fzf.txt CHANGELOG.md %{_bindir}/%{name} %{_bindir}/%{name}-tmux %{_mandir}/man1/%{name}.1* %{_mandir}/man1/%{name}-tmux.1* %{_sysconfdir}/bash_completion.d/fzf %{fish_completions_dir}/fzf.fish %{zsh_completions_dir}/_fzf %changelog * Sat Aug 22 2026 Vasiliy Biryukov 0.74.3-1 - chore(fzf): update to 0.74.3 * Sat Aug 1 2026 Vasiliy Biryukov 0.74.2-1 - chore(fzf): update to 0.74.2 * Sat Jul 25 2026 Vasiliy Biryukov 0.74.1-1 - chore(fzf): update to 0.74.1 * Sat Jul 11 2026 Vasiliy Biryukov 0.74.0-1 - chore(fzf): update to 0.74.0 * Mon Jun 08 2026 Vasiliy Biryukov 0.73.1-2 - feat(fzf): remove go-rpm-macros facilities * Sat Jun 06 2026 Vasiliy Biryukov 0.73.1-1 - chore(fzf): update to 0.73.1 * Sun May 31 2026 Vasiliy Biryukov 0.72.0-1 - feat(fzf): add fzf package