[packages/fzf] completion.* are not fzf command completions, they're meant to be sourced; rel 2
atler
atler at pld-linux.org
Tue Jul 28 12:55:17 CEST 2020
commit 27c72a25ceefd504e8d93777be08dc740efe74b7
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Jul 28 12:54:04 2020 +0200
completion.* are not fzf command completions, they're meant to be sourced; rel 2
fzf.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/fzf.spec b/fzf.spec
index df022c3..64de43e 100644
--- a/fzf.spec
+++ b/fzf.spec
@@ -4,7 +4,7 @@
Summary: A command-line fuzzy finder written in Go
Name: fzf
Version: 0.21.1
-Release: 1
+Release: 2
License: MIT
Group: Applications/Shells
#Source0Download: https://github.com/junegunn/fzf/releases
@@ -90,9 +90,9 @@ install -d $RPM_BUILD_ROOT%{_datadir}/vim/{doc,vimfiles/plugin}
cp -p target/fzf-linux* $RPM_BUILD_ROOT%{_bindir}/fzf
cp -p man/man1/fzf.1 $RPM_BUILD_ROOT%{_mandir}/man1
-cp -p shell/completion.bash $RPM_BUILD_ROOT%{bash_compdir}/fzf
+cp -p shell/completion.bash $RPM_BUILD_ROOT%{_datadir}/fzf
cp -p shell/key-bindings.bash $RPM_BUILD_ROOT%{_datadir}/fzf
-cp -p shell/completion.zsh $RPM_BUILD_ROOT%{zsh_compdir}/_fzf
+cp -p shell/completion.zsh $RPM_BUILD_ROOT%{_datadir}/fzf
cp -p shell/key-bindings.zsh $RPM_BUILD_ROOT%{_datadir}/fzf
cp -p plugin/fzf.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/plugin/fzf.vim
cp -p doc/fzf.txt $RPM_BUILD_ROOT%{_datadir}/vim/doc/fzf.txt
@@ -115,12 +115,12 @@ rm -rf $RPM_BUILD_ROOT
%files -n bash-completion-fzf
%defattr(644,root,root,755)
-%{bash_compdir}/fzf
+%{_datadir}/fzf/completion.bash
%{_datadir}/fzf/key-bindings.bash
%files -n zsh-completion-fzf
%defattr(644,root,root,755)
-%{zsh_compdir}/_fzf
+%{_datadir}/fzf/completion.zsh
%{_datadir}/fzf/key-bindings.zsh
%files -n vim-plugin-fzf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fzf.git/commitdiff/27c72a25ceefd504e8d93777be08dc740efe74b7
More information about the pld-cvs-commit
mailing list