From fe155e4cd0c35cd99906ec62f3d4af3b20a30bbf Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 3 Jan 2025 17:11:42 +0100 Subject: [PATCH] Update to version 0.3.16; Fixes RHBZ#2333472 --- .gitignore | 1 + inventory-fix-metadata-auto.diff | 8 ++++++++ rust-inventory.spec | 8 +++++--- sources | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 inventory-fix-metadata-auto.diff diff --git a/.gitignore b/.gitignore index d65d3a5..5b03bab 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /inventory-0.3.13.crate /inventory-0.3.14.crate /inventory-0.3.15.crate +/inventory-0.3.16.crate diff --git a/inventory-fix-metadata-auto.diff b/inventory-fix-metadata-auto.diff new file mode 100644 index 0000000..8b2ef42 --- /dev/null +++ b/inventory-fix-metadata-auto.diff @@ -0,0 +1,8 @@ +--- inventory-0.3.16/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ inventory-0.3.16/Cargo.toml 2025-01-03T16:10:01.317359+00:00 +@@ -62,5 +62,3 @@ + version = "1.0.89" + features = ["diff"] + +-[target.'cfg(any(target_os = "emscripten", target_os = "wasi"))'.dependencies.rustversion] +-version = "1.0" diff --git a/rust-inventory.spec b/rust-inventory.spec index dffbded..7fe0e62 100644 --- a/rust-inventory.spec +++ b/rust-inventory.spec @@ -1,17 +1,19 @@ -# Generated by rust2rpm 25 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate inventory Name: rust-inventory -Version: 0.3.15 +Version: 0.3.16 Release: %autorelease Summary: Typed distributed plugin registration License: MIT OR Apache-2.0 URL: https://crates.io/crates/inventory Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: inventory-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/sources b/sources index f920535..e145e9e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (inventory-0.3.15.crate) = 1b7e229e5555e9b08edf1c1658e11831e591fe1f7c10e6160162fad076e89e4ca401b58ac59a76ce8ed4e1f9cd759a073d8d1f937f0190e2892804ce4e0c1f72 +SHA512 (inventory-0.3.16.crate) = f32433aa5f69814602cf75852a5a058363dc419740c150a6da43e4de9b0c852d522283c83eecc2b5b2abc58769651b2d305298a46eed96b3a962798b3474b7be