|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 6.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Simple, fast and user-friendly alternative to find
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
@ -52,11 +52,16 @@ Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
find
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%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
|
|
|
|
|
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \
|
|
|
|
|
target/release/build/%{crate}-*/out/fd.fish
|
|
|
|
|
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
|
|
|
|
|
target/release/build/%{crate}-*/out/_fd
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
@ -68,7 +73,19 @@ find
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_bindir}/fd
|
|
|
|
|
%{_mandir}/man1/fd.1*
|
|
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
|
|
|
|
%{_datadir}/bash-completion/completions/fd.bash-completion
|
|
|
|
|
%dir %{_datadir}/fish
|
|
|
|
|
%dir %{_datadir}/fish/vendor_functions.d
|
|
|
|
|
%{_datadir}/fish/vendor_functions.d/fd.fish
|
|
|
|
|
%dir %{_datadir}/zsh
|
|
|
|
|
%dir %{_datadir}/zsh/site-functions
|
|
|
|
|
%{_datadir}/zsh/site-functions/_fd
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 23 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-2
|
|
|
|
|
- Package completions
|
|
|
|
|
|
|
|
|
|
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-1
|
|
|
|
|
- Initial package
|
|
|
|
|