From 85b5650ef60654d2634623d775559189b08060d4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 31 Dec 2017 18:57:18 +0100 Subject: [PATCH] Bump rand to 0.4 Signed-off-by: Igor Gnatenko --- bytecount-0.2.0-fix-metadata.diff | 5 +++-- rust-bytecount.spec | 8 ++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/bytecount-0.2.0-fix-metadata.diff b/bytecount-0.2.0-fix-metadata.diff index cafcb26..6c2bcb6 100644 --- a/bytecount-0.2.0-fix-metadata.diff +++ b/bytecount-0.2.0-fix-metadata.diff @@ -1,5 +1,5 @@ --- bytecount-0.2.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ bytecount-0.2.0/Cargo.toml 2017-12-02T17:22:45.011268+01:00 ++++ bytecount-0.2.0/Cargo.toml 2017-12-31T18:58:03.975608+01:00 @@ -26,21 +26,16 @@ name = "bench" path = "benches/bench.rs" @@ -15,7 +15,8 @@ +version = "0.5" [dev-dependencies.rand] - version = "0.3.16" +-version = "0.3.16" ++version = "0.4" [features] -avx-accel = ["simd-accel"] diff --git a/rust-bytecount.spec b/rust-bytecount.spec index 1535cd8..3b33c01 100644 --- a/rust-bytecount.spec +++ b/rust-bytecount.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Count occurrences of a byte in a byte slice, fast License: ASL 2.0 or MIT @@ -15,6 +15,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ # Initial patched metadata # * No simd # * Bump quickcheck to 0.5, https://github.com/llogiq/bytecount/pull/28 +# * Bump rand to 0.4, https://github.com/llogiq/bytecount/pull/33 Patch0: bytecount-0.2.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -24,7 +25,7 @@ BuildRequires: rust-packaging # [dev-dependencies] BuildRequires: (crate(bencher) >= 0.1.4 with crate(bencher) < 0.2.0) BuildRequires: (crate(quickcheck) >= 0.5.0 with crate(quickcheck) < 0.6.0) -BuildRequires: (crate(rand) >= 0.3.16 with crate(rand) < 0.4.0) +BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) %endif %description @@ -62,6 +63,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Sun Dec 31 2017 Igor Gnatenko - 0.2.0-3 +- Bump rand to 0.4 + * Sat Dec 02 2017 Igor Gnatenko - 0.2.0-2 - Bump quickcheck to 0.5