From 8ae49fe3cc182b7574c49496db81bfc23dc53a47 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 3 Apr 2019 11:07:29 -0700 Subject: [PATCH] Update to 0.7.3 --- .gitignore | 1 + rust-aho-corasick.spec | 36 ++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 22 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 4163495..34dc84f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /aho-corasick-0.6.8.crate /aho-corasick-0.6.9.crate /aho-corasick-0.6.10.crate +/aho-corasick-0.7.3.crate diff --git a/rust-aho-corasick.spec b/rust-aho-corasick.spec index 2e9ae21..a6f79c7 100644 --- a/rust-aho-corasick.spec +++ b/rust-aho-corasick.spec @@ -3,15 +3,12 @@ %bcond_with check %global debug_package %{nil} -# Binary is useless -%global __cargo_is_bin() false - %global crate aho-corasick Name: rust-%{crate} -Version: 0.6.10 +Version: 0.7.3 Release: 1%{?dist} -Summary: Fast multiple substring searching with finite state machines +Summary: Fast multiple substring searching # Upstream license specification: Unlicense/MIT License: Unlicense or MIT @@ -21,19 +18,11 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(memchr/default) >= 2.0.0 with crate(memchr/default) < 3.0.0) -%if %{with check} -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 +BuildRequires: (crate(memchr) >= 2.2.0 with crate(memchr) < 3.0.0) +BuildRequires: (crate(memchr/use_std) >= 2.2.0 with crate(memchr/use_std) < 3.0.0) %global _description \ -Fast multiple substring searching with finite state machines. +Fast multiple substring searching. %description %{_description} @@ -63,6 +52,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %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 %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -79,6 +80,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Apr 03 2019 Josh Stone - 0.7.3-1 +- Update to 0.7.3 + * Sat Feb 16 2019 Igor Gnatenko - 0.6.10-1 - Update to 0.6.10 diff --git a/sources b/sources index 432bc72..7646976 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aho-corasick-0.6.10.crate) = 4a21b0e68c416e5dcfe99ded917577abdbe7c92e50227b7906a2b3bd25105f8e7d03103514d388171a41090cc7bcb63bb5b4dc3c6847a9b4e09bb3856a1bbd9d +SHA512 (aho-corasick-0.7.3.crate) = 4250dc8fa38ad74e0c25375744f34eb06ff3bddbf16d6b4d757a9053ca16c3945d15c8f9deb11ea55d30b6d1c1744c4bccc388a4413b723a429445bf5ef3ffa9