From e6b11424e815f564f3b8a36ac0bae27c3afb8e08 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 3 Nov 2023 12:32:49 +0100 Subject: [PATCH] Update to version 1.4.2; Fixes RHBZ#2244971 --- .gitignore | 1 + rust-value-bag.spec | 8 ++++---- sources | 2 +- value-bag-fix-metadata-auto.diff | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 55298ab..97efe35 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /value-bag-1.0.0-alpha.8.crate /value-bag-1.0.0-alpha.9.crate /value-bag-1.4.1.crate +/value-bag-1.4.2.crate diff --git a/rust-value-bag.spec b/rust-value-bag.spec index 0b75251..9d0916b 100644 --- a/rust-value-bag.spec +++ b/rust-value-bag.spec @@ -1,18 +1,18 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate value-bag Name: rust-value-bag -Version: 1.4.1 +Version: 1.4.2 Release: %autorelease Summary: Anonymous structured values License: Apache-2.0 OR MIT URL: https://crates.io/crates/value-bag Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: value-bag-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 @@ -194,7 +194,7 @@ use the "value-bag-sval2" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 9973789..6d1d869 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (value-bag-1.4.1.crate) = 6505ed342d6e2dda2d74a75c4609cddc130a291c09618c7111720ef26f01d059e11eb24339a58daf4a9103bec15f676668afaab52a7e423b2acdb565852c452e +SHA512 (value-bag-1.4.2.crate) = 9249668da32da05907b39f3f8b5a24f381c1e5f47bc8552e43016fbd4c236b6d09895656d4f0fd809f23926a7fb79c8d59f0ecd5cc40922c946bd1ecefa4dfbb diff --git a/value-bag-fix-metadata-auto.diff b/value-bag-fix-metadata-auto.diff index 2f97d82..ebecfe3 100644 --- a/value-bag-fix-metadata-auto.diff +++ b/value-bag-fix-metadata-auto.diff @@ -1,5 +1,5 @@ ---- value-bag-1.4.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ value-bag-1.4.1/Cargo.toml 2023-07-17T09:07:37.935984+00:00 +--- value-bag-1.4.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ value-bag-1.4.2/Cargo.toml 2023-11-03T11:32:26.728890+00:00 @@ -75,8 +75,3 @@ sval2 = ["value-bag-sval2"] test = ["std"]