|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.7.1
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Summary: Line oriented search tool using Rust's regex library
|
|
|
|
|
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
@ -16,6 +16,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
|
|
|
|
|
# * Bump memmap to 0.6, https://github.com/BurntSushi/ripgrep/pull/657
|
|
|
|
|
# * Bump bytecount to 0.2, https://github.com/BurntSushi/ripgrep/pull/679
|
|
|
|
|
# * Bump lazy_static to 1, https://github.com/BurntSushi/ripgrep/pull/699
|
|
|
|
|
# * Bump bytecount to 0.3, https://github.com/BurntSushi/ripgrep/pull/739
|
|
|
|
|
Patch0: ripgrep-0.7.1-fix-metadata.diff
|
|
|
|
|
# Really make code compatible with memmap v0.6
|
|
|
|
|
Patch1: 0001-Update-to-memmap-0.6.patch
|
|
|
|
@ -25,7 +26,7 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
# [dependencies]
|
|
|
|
|
BuildRequires: (crate(atty) >= 0.2.2 with crate(atty) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(bytecount) >= 0.2.0 with crate(bytecount) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(bytecount) >= 0.3.0 with crate(bytecount) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(clap) >= 2.26.0 with crate(clap) < 3.0.0)
|
|
|
|
|
BuildRequires: (crate(encoding_rs) >= 0.7.0 with crate(encoding_rs) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(env_logger) >= 0.4.0 with crate(env_logger) < 0.5.0)
|
|
|
|
@ -92,6 +93,9 @@ the raw performance of grep with the usability of the silver searcher.
|
|
|
|
|
%{_datadir}/zsh/site-functions/_rg
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jan 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-9
|
|
|
|
|
- Rebuild for bytecount 0.3.0
|
|
|
|
|
|
|
|
|
|
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-8
|
|
|
|
|
- Rebuild for rust-packaging v5
|
|
|
|
|
|
|
|
|
|