diff --git a/zellij.changes b/zellij.changes index a4aac65..bfe3844 100644 --- a/zellij.changes +++ b/zellij.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 5 22:24:29 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com> + +- Fix install of shell completions in specfile. + ------------------------------------------------------------------- Wed Oct 5 00:41:20 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com> diff --git a/zellij.spec b/zellij.spec index 3d1080f..42f2e61 100644 --- a/zellij.spec +++ b/zellij.spec @@ -102,9 +102,9 @@ cp %{SOURCE2} .cargo/config ./target/release/zellij setup --generate-completion zsh > target/zellij.zsh %install -install -Dm644 -t %{buildroot}%{_datadir}/bash-completion/completions/zellij ./target/zellij.bash -install -Dm644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d/zellij.fish ./target/zellij.fish -install -Dm644 -t %{buildroot}%{_datadir}/zsh/site-functions/_zellij ./target/zellij.zsh +install -Dm644 -T ./target/zellij.bash %{buildroot}%{_datadir}/bash-completion/completions/zellij +install -Dm644 -T ./target/zellij.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/zellij.fish +install -Dm644 -T ./target/zellij.zsh %{buildroot}%{_datadir}/zsh/site-functions/_zellij %{cargo_install} %if %{with test}