From f38c07265d41abcc4f383447cbcd032d89e873d7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 25 Oct 2019 19:25:05 +0200 Subject: [PATCH] Bump criterion to 0.3 Signed-off-by: Igor Gnatenko --- crc-fix-metadata.diff | 11 +++++++++++ rust-crc.spec | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 crc-fix-metadata.diff diff --git a/crc-fix-metadata.diff b/crc-fix-metadata.diff new file mode 100644 index 0000000..79723b8 --- /dev/null +++ b/crc-fix-metadata.diff @@ -0,0 +1,11 @@ +--- crc-1.9.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ crc-1.9.0/Cargo.toml 2019-10-25T17:23:50.786707+00:00 +@@ -25,7 +25,7 @@ + name = "bench" + harness = false + [dev-dependencies.criterion] +-version = "0.2.5" ++version = "0.3" + [build-dependencies.build_const] + version = "0.2" + diff --git a/rust-crc.spec b/rust-crc.spec index b5b3eca..5383e82 100644 --- a/rust-crc.spec +++ b/rust-crc.spec @@ -13,6 +13,9 @@ Summary: Rust implementation of CRC(16, 32, 64) with support of various s License: MIT or ASL 2.0 URL: https://crates.io/crates/crc Source: %{crates_source} +# Initial patched metadata +# * Update criterion to 0.3, https://github.com/mrhooray/crc-rs/commit/8c2949224a85037c4d8764ea238e7adf840f56f3 +Patch0: crc-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build}