From 2504d90487dbf9fccc3ac3c1e699c1b4af873c46e49d179736e3df5b1ef76fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 28 May 2021 11:34:54 +0000 Subject: [PATCH] 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 --- pyenv.changes | 5 +++++ pyenv.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pyenv.changes b/pyenv.changes index 30f8fed..5e80702 100644 --- a/pyenv.changes +++ b/pyenv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 28 11:13:14 UTC 2021 - Markéta Machová + +- Install fish completion to vendor_completions.d (https://github.com/pyenv/pyenv/issues/1944) + ------------------------------------------------------------------- Mon May 24 21:06:55 UTC 2021 - Chris Coutinho diff --git a/pyenv.spec b/pyenv.spec index aecb8e9..6b27184 100644 --- a/pyenv.spec +++ b/pyenv.spec @@ -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