|
|
@ -3,15 +3,12 @@
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
# Binary is useless
|
|
|
|
|
|
|
|
%global __cargo_is_bin() false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global crate aho-corasick
|
|
|
|
%global crate aho-corasick
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.6.10
|
|
|
|
Version: 0.7.3
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Fast multiple substring searching with finite state machines
|
|
|
|
Summary: Fast multiple substring searching
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
@ -21,19 +18,11 @@ Source: %{crates_source}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(memchr/default) >= 2.0.0 with crate(memchr/default) < 3.0.0)
|
|
|
|
BuildRequires: (crate(memchr) >= 2.2.0 with crate(memchr) < 3.0.0)
|
|
|
|
%if %{with check}
|
|
|
|
BuildRequires: (crate(memchr/use_std) >= 2.2.0 with crate(memchr/use_std) < 3.0.0)
|
|
|
|
BuildRequires: (crate(csv/default) >= 1.0.0 with crate(csv/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(docopt/default) >= 1.0.0 with crate(docopt/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(memmap/default) >= 0.6.0 with crate(memmap/default) < 0.7.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.7.0 with crate(quickcheck) < 0.8.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.5.0 with crate(rand/default) < 0.6.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description \
|
|
|
|
Fast multiple substring searching with finite state machines.
|
|
|
|
Fast multiple substring searching.
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -63,6 +52,18 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "std" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
@ -79,6 +80,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Apr 03 2019 Josh Stone <jistone@redhat.com> - 0.7.3-1
|
|
|
|
|
|
|
|
- Update to 0.7.3
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.10-1
|
|
|
|
* Sat Feb 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.10-1
|
|
|
|
- Update to 0.6.10
|
|
|
|
- Update to 0.6.10
|
|
|
|
|
|
|
|
|
|
|
|