From 803f89ae975512fd41cbd828686ddb900d61110d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 10 Sep 2018 08:31:33 +0200 Subject: [PATCH] Bump quickcheck to 0.7 Signed-off-by: Igor Gnatenko --- flate2-fix-metadata.diff | 11 +++++++++++ rust-flate2.spec | 11 +++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 flate2-fix-metadata.diff diff --git a/flate2-fix-metadata.diff b/flate2-fix-metadata.diff new file mode 100644 index 0000000..04305a0 --- /dev/null +++ b/flate2-fix-metadata.diff @@ -0,0 +1,11 @@ +--- flate2-1.0.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ flate2-1.0.2/Cargo.toml 2018-09-10T08:31:44.692525+02:00 +@@ -46,7 +46,7 @@ + version = "0.1" + optional = true + [dev-dependencies.quickcheck] +-version = "0.6" ++version = "0.7" + default-features = false + + [dev-dependencies.rand] diff --git a/rust-flate2.spec b/rust-flate2.spec index e8f0a24..576df07 100644 --- a/rust-flate2.spec +++ b/rust-flate2.spec @@ -6,12 +6,16 @@ Name: rust-%{crate} Version: 1.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: DEFLATE compression and decompression exposed as Reader/Writer streams +# Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/flate2 Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump quickcheck to 0.7, https://github.com/alexcrichton/flate2-rs/pull/167 +Patch0: flate2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -25,7 +29,7 @@ BuildRequires: ((crate(miniz_oxide_c_api) >= 0.1.0 with crate(miniz_oxide_c_api BuildRequires: (crate(tokio-io) >= 0.1.0 with crate(tokio-io) < 0.2.0) %if %{with check} # [dev-dependencies] -BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0) +BuildRequires: (crate(quickcheck) >= 0.7.0 with crate(quickcheck) < 0.8.0) BuildRequires: (crate(rand) >= 0.5.0 with crate(rand) < 0.6.0) BuildRequires: (crate(tokio-core) >= 0.1.0 with crate(tokio-core) < 0.2.0) %endif @@ -67,6 +71,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Mon Sep 10 2018 Igor Gnatenko - 1.0.2-2 +- Bump quickcheck to 0.7 + * Sat Aug 04 2018 Josh Stone - 1.0.2-1 - Update to 1.0.2