|
|
|
@ -6,17 +6,13 @@
|
|
|
|
|
%global crate aho-corasick
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.6.4
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.6.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Fast multiple substring searching with finite state machines
|
|
|
|
|
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
|
URL: https://crates.io/crates/aho-corasick
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Bump quickcheck to 0.6, rand to 0.4, https://github.com/BurntSushi/aho-corasick/pull/23
|
|
|
|
|
# * Bump docopt to 1, https://github.com/BurntSushi/aho-corasick/commit/c061333963a3abd7fe715b364eff0ca92ad8f98e
|
|
|
|
|
Patch0: aho-corasick-0.6.4-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
@ -25,12 +21,12 @@ BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(memchr) >= 2.0.0 with crate(memchr) < 3.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
# [dev-dependencies]
|
|
|
|
|
BuildRequires: (crate(csv) >= 0.15.0 with crate(csv) < 0.16.0)
|
|
|
|
|
BuildRequires: (crate(csv) >= 1.0.0 with crate(csv) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(docopt) >= 1.0.0 with crate(docopt) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(memmap) >= 0.5.0 with crate(memmap) < 0.6.0)
|
|
|
|
|
BuildRequires: (crate(memmap) >= 0.6.0 with crate(memmap) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(rustc-serialize) >= 0.3.0 with crate(rustc-serialize) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -69,6 +65,9 @@ which use %{crate} from crates.io.
|
|
|
|
|
%exclude %{_bindir}/aho-corasick-dot
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.5-1
|
|
|
|
|
- Update to 0.6.5
|
|
|
|
|
|
|
|
|
|
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.4-5
|
|
|
|
|
- Bump docopt to 1
|
|
|
|
|
|
|
|
|
|