- Fix install of shell completions in specfile.

OBS-URL: https://build.opensuse.org/package/show/utilities/zellij?expand=0&rev=23
This commit is contained in:
Soc Virnyl Estela 2022-10-05 22:25:22 +00:00 committed by Git OBS Bridge
parent 20b3750c97
commit 3f806e909d
2 changed files with 8 additions and 3 deletions

View File

@ -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>

View File

@ -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}