diff --git a/.gitignore b/.gitignore index 1bb2ff1..c6f370c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /typed-arena-1.6.1.crate /typed-arena-1.7.0.crate /typed-arena-2.0.1.crate +/typed-arena-2.0.2.crate diff --git a/rust-typed-arena.spec b/rust-typed-arena.spec index b7dbec8..97886b9 100644 --- a/rust-typed-arena.spec +++ b/rust-typed-arena.spec @@ -1,23 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate typed-arena -Name: rust-%{crate} -Version: 2.0.1 +Name: rust-typed-arena +Version: 2.0.2 Release: %autorelease Summary: Arena, a fast but limited type of allocator -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/typed-arena Source: %{crates_source} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds -Patch0: typed-arena-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +Patch: typed-arena-fix-metadata.diff BuildRequires: rust-packaging >= 21 diff --git a/sources b/sources index 30a8a6b..529abc8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (typed-arena-2.0.1.crate) = 182fdac0ef9b494fc2966005ece2107a3c53b6eafe4eebe9be3d552aebe143e05f3db2b51693c253831744fc265ec2a557d31ee42cf0ba5991b38d075278415d +SHA512 (typed-arena-2.0.2.crate) = 33f43488ff63ab763e4330d124e3290ece41e50ab78b6f12dae3a2be4d7f5bdf6ec876ab3b1f8cd81874e335fc41f3a2254994f250d3d6aba682fce557a6a399 diff --git a/typed-arena-fix-metadata.diff b/typed-arena-fix-metadata.diff index 2f4fab7..339a77d 100644 --- a/typed-arena-fix-metadata.diff +++ b/typed-arena-fix-metadata.diff @@ -1,6 +1,6 @@ ---- typed-arena-2.0.1/Cargo.toml 2020-01-10T21:10:45+00:00 -+++ typed-arena-2.0.1/Cargo.toml 2022-04-14T19:54:07.706205+00:00 -@@ -28,13 +28,6 @@ +--- typed-arena-2.0.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ typed-arena-2.0.2/Cargo.toml 2023-01-29T23:02:15.845673+00:00 +@@ -31,14 +31,6 @@ name = "typed_arena" path = "src/lib.rs" @@ -8,8 +8,9 @@ -name = "benches" -path = "benches/benches.rs" -harness = false +- -[dev-dependencies.criterion] --version = "0.3.0" +-version = "0.3.4" - [features] default = ["std"]