From cb0853701ba2b250e1fb171dbab3b59ed4e8bcec Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 17 Sep 2024 00:00:49 +0200 Subject: [PATCH] Update to version 1.6.0; Fixes RHBZ#2310327 --- .gitignore | 1 + rust-similar-asserts.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 417501e..13aa373 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /similar-asserts-1.3.0.crate /similar-asserts-1.4.2.crate /similar-asserts-1.5.0.crate +/similar-asserts-1.6.0.crate diff --git a/rust-similar-asserts.spec b/rust-similar-asserts.spec index ce0ca42..7888abc 100644 --- a/rust-similar-asserts.spec +++ b/rust-similar-asserts.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate similar-asserts Name: rust-similar-asserts -Version: 1.5.0 +Version: 1.6.0 Release: %autorelease Summary: Assert_eq! like macros with colorized diff output @@ -13,7 +13,7 @@ License: Apache-2.0 URL: https://crates.io/crates/similar-asserts Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Provides assert_eq! like macros with colorized diff output.} @@ -72,7 +72,7 @@ use the "unicode" 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 4ac39fb..9879d87 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (similar-asserts-1.5.0.crate) = 3b3cc8a58b036ba3fc6919969917055a8babb60b513822594d4588b8d9f45278734ec8e391ef0b6f3daa7034389a151a9522808a3066d77ff3263a0cc0d2ad2f +SHA512 (similar-asserts-1.6.0.crate) = 1d95e1dec1700d3bef801a0337a44c2b560db6be0859caed88aa96e5bb4ee5a93c8ce5a0255150a84bebe33aad7b497bdaec9b0fd59de11957157b298d3a16b2