|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.7.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Line oriented search tool using Rust's regex library
|
|
|
|
|
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
@ -64,7 +64,7 @@ the raw performance of grep with the usability of the silver searcher.
|
|
|
|
|
%cargo_install
|
|
|
|
|
%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man1 doc/rg.1
|
|
|
|
|
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
|
|
|
|
|
target/release/build/%{crate}-*/out/rg.bash-completion
|
|
|
|
|
target/release/build/%{crate}-*/out/rg.bash
|
|
|
|
|
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \
|
|
|
|
|
target/release/build/%{crate}-*/out/rg.fish
|
|
|
|
|
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
|
|
|
|
@ -82,7 +82,7 @@ the raw performance of grep with the usability of the silver searcher.
|
|
|
|
|
%{_mandir}/man1/rg.1*
|
|
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
|
|
|
|
%{_datadir}/bash-completion/completions/rg.bash-completion
|
|
|
|
|
%{_datadir}/bash-completion/completions/rg.bash
|
|
|
|
|
%dir %{_datadir}/fish
|
|
|
|
|
%dir %{_datadir}/fish/vendor_functions.d
|
|
|
|
|
%{_datadir}/fish/vendor_functions.d/rg.fish
|
|
|
|
@ -91,6 +91,9 @@ the raw performance of grep with the usability of the silver searcher.
|
|
|
|
|
%{_datadir}/zsh/site-functions/_rg
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 23 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-5
|
|
|
|
|
- Fix bash completion
|
|
|
|
|
|
|
|
|
|
* Thu Nov 23 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-4
|
|
|
|
|
- Package completions
|
|
|
|
|
|
|
|
|
|