Fix bash completion
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c6c2c3a623
commit
e18ed15777
|
@ -5,7 +5,7 @@
|
|||
|
||||
Name: rust-%{crate}
|
||||
Version: 6.0.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Simple, fast and user-friendly alternative to find
|
||||
|
||||
License: MIT or ASL 2.0
|
||||
|
@ -57,7 +57,7 @@ Summary: %{summary}
|
|||
%cargo_install
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man1 doc/fd.1
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
|
||||
target/release/build/%{crate}-*/out/fd.bash-completion
|
||||
target/release/build/%{crate}-*/out/fd.bash
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \
|
||||
target/release/build/%{crate}-*/out/fd.fish
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
|
||||
|
@ -75,7 +75,7 @@ Summary: %{summary}
|
|||
%{_mandir}/man1/fd.1*
|
||||
%dir %{_datadir}/bash-completion
|
||||
%dir %{_datadir}/bash-completion/completions
|
||||
%{_datadir}/bash-completion/completions/fd.bash-completion
|
||||
%{_datadir}/bash-completion/completions/fd.bash
|
||||
%dir %{_datadir}/fish
|
||||
%dir %{_datadir}/fish/vendor_functions.d
|
||||
%{_datadir}/fish/vendor_functions.d/fd.fish
|
||||
|
@ -84,6 +84,9 @@ Summary: %{summary}
|
|||
%{_datadir}/zsh/site-functions/_fd
|
||||
|
||||
%changelog
|
||||
* Thu Nov 23 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-3
|
||||
- Fix bash completion
|
||||
|
||||
* Thu Nov 23 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-2
|
||||
- Package completions
|
||||
|
||||
|
|
Loading…
Reference in New Issue