Fix bash completion installation location (#1789958)
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
This commit is contained in:
11
fzf.spec
11
fzf.spec
@@ -8,7 +8,7 @@ Version: 0.20.0
|
|||||||
%gometa
|
%gometa
|
||||||
|
|
||||||
Name: fzf
|
Name: fzf
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A command-line fuzzy finder written in Go
|
Summary: A command-line fuzzy finder written in Go
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -60,8 +60,8 @@ install -d %{buildroot}%{_datadir}/nvim/site/plugin
|
|||||||
install -Dpm0644 plugin/fzf.vim %{buildroot}%{_datadir}/nvim/site/plugin/
|
install -Dpm0644 plugin/fzf.vim %{buildroot}%{_datadir}/nvim/site/plugin/
|
||||||
|
|
||||||
# Install shell completion
|
# Install shell completion
|
||||||
install -d %{buildroot}%{_datadir}/bash-completion/completions
|
install -d %{buildroot}%{_sysconfdir}/bash_completion.d/
|
||||||
install -Dpm0644 shell/completion.bash %{buildroot}%{_datadir}/bash-completion/completions/fzf
|
install -Dpm0644 shell/completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/fzf
|
||||||
install -d %{buildroot}%{_datadir}/zsh/site-functions
|
install -d %{buildroot}%{_datadir}/zsh/site-functions
|
||||||
install -Dpm0644 shell/completion.zsh %{buildroot}%{_datadir}/zsh/site-functions/fzf
|
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
|
%{_datadir}/vim/vimfiles/plugin/fzf.vim
|
||||||
%dir %{_datadir}/nvim/site/plugin
|
%dir %{_datadir}/nvim/site/plugin
|
||||||
%{_datadir}/nvim/site/plugin/fzf.vim
|
%{_datadir}/nvim/site/plugin/fzf.vim
|
||||||
%{_datadir}/bash-completion/completions/fzf
|
%{_sysconfdir}/bash_completion.d/fzf
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 11 16:47:31 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.20.0-2
|
||||||
|
- Fix bash completion installation location (#1789958)
|
||||||
|
|
||||||
* Mon Dec 23 01:41:54 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.20.0-1
|
* Mon Dec 23 01:41:54 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.20.0-1
|
||||||
- Update to 0.20.0 (#1784565)
|
- Update to 0.20.0 (#1784565)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user