Accepting request 895959 from home:mcalabkova:branches:devel:languages:python

- Install fish completion to vendor_completions.d (https://github.com/pyenv/pyenv/issues/1944)

OBS-URL: https://build.opensuse.org/request/show/895959
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/pyenv?expand=0&rev=20
This commit is contained in:
Markéta Machová 2021-05-28 11:34:54 +00:00 committed by Git OBS Bridge
parent b13807207f
commit 2504d90487
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 28 11:13:14 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Install fish completion to vendor_completions.d (https://github.com/pyenv/pyenv/issues/1944)
-------------------------------------------------------------------
Mon May 24 21:06:55 UTC 2021 - Chris Coutinho <chrisbcoutinho@gmail.com>

View File

@ -122,7 +122,7 @@ cp -a pyenv.d %{buildroot}%{_sysconfdir}/
## Install shell completions:
install -D -m0644 completions/pyenv.bash %{buildroot}%{_datadir}/bash-completion/completions/pyenv
install -D -m0644 completions/pyenv.fish %{buildroot}%{_datadir}/fish/completions/pyenv.fish
install -D -m0644 completions/pyenv.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/pyenv.fish
install -D -m0644 completions/pyenv.zsh %{buildroot}%{_sysconfdir}/zsh_completion.d/pyenv
## Install manpage
@ -168,7 +168,7 @@ popd
%{_datadir}/bash-completion/completions/pyenv
%files fish-completion
%{_datadir}/fish/completions/pyenv.fish
%{_datadir}/fish/vendor_completions.d/pyenv.fish
%files zsh-completion
%config %{_sysconfdir}/zsh_completion.d/pyenv