From e8744182375fc34d38725751d63596e2877c7425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Sat, 11 Jan 2020 16:55:39 +0100 Subject: [PATCH] Fix bash completion installation location (#1789958) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert-André Mauchin --- fzf.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fzf.spec b/fzf.spec index b0bb74b..e4b8971 100644 --- a/fzf.spec +++ b/fzf.spec @@ -8,7 +8,7 @@ Version: 0.20.0 %gometa Name: fzf -Release: 1%{?dist} +Release: 2%{?dist} Summary: A command-line fuzzy finder written in Go License: MIT @@ -60,8 +60,8 @@ install -d %{buildroot}%{_datadir}/nvim/site/plugin install -Dpm0644 plugin/fzf.vim %{buildroot}%{_datadir}/nvim/site/plugin/ # Install shell completion -install -d %{buildroot}%{_datadir}/bash-completion/completions -install -Dpm0644 shell/completion.bash %{buildroot}%{_datadir}/bash-completion/completions/fzf +install -d %{buildroot}%{_sysconfdir}/bash_completion.d/ +install -Dpm0644 shell/completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/fzf install -d %{buildroot}%{_datadir}/zsh/site-functions install -Dpm0644 shell/completion.zsh %{buildroot}%{_datadir}/zsh/site-functions/fzf @@ -91,10 +91,13 @@ install -Dpm0644 shell/key-bindings.* %{buildroot}%{_datadir}/fzf/shell/ %{_datadir}/vim/vimfiles/plugin/fzf.vim %dir %{_datadir}/nvim/site/plugin %{_datadir}/nvim/site/plugin/fzf.vim -%{_datadir}/bash-completion/completions/fzf +%{_sysconfdir}/bash_completion.d/fzf %changelog +* Sat Jan 11 16:47:31 CET 2020 Robert-André Mauchin - 0.20.0-2 +- Fix bash completion installation location (#1789958) + * Mon Dec 23 01:41:54 CET 2019 Robert-André Mauchin - 0.20.0-1 - Update to 0.20.0 (#1784565)