From 0285e4d8f10da2325b483b61def1fe567e482f76 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 21 Sep 2019 13:31:08 +0200 Subject: [PATCH] Update criterion to 0.3 Signed-off-by: Igor Gnatenko --- rust-typed-arena.spec | 3 +++ typed-arena-fix-metadata.diff | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 typed-arena-fix-metadata.diff diff --git a/rust-typed-arena.spec b/rust-typed-arena.spec index 2b46571..11b348d 100644 --- a/rust-typed-arena.spec +++ b/rust-typed-arena.spec @@ -13,6 +13,9 @@ Summary: Arena, a fast but limited type of allocator License: MIT URL: https://crates.io/crates/typed-arena Source: %{crates_source} +# Initial patched metadata +# * Update criterion to 0.3, https://github.com/SimonSapin/rust-typed-arena/pull/34 +Patch0: typed-arena-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} diff --git a/typed-arena-fix-metadata.diff b/typed-arena-fix-metadata.diff new file mode 100644 index 0000000..6aace01 --- /dev/null +++ b/typed-arena-fix-metadata.diff @@ -0,0 +1,11 @@ +--- typed-arena-1.6.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ typed-arena-1.6.1/Cargo.toml 2019-09-21T11:30:20.733986+00:00 +@@ -33,7 +33,7 @@ + path = "benches/benches.rs" + harness = false + [dev-dependencies.criterion] +-version = "0.2.4" ++version = "0.3" + + [features] + default = ["std"]