From a6453d24a9ea32dd32365a3107f5e33651a427d9 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 20 Oct 2023 10:47:58 +0200 Subject: [PATCH] Update to version 1.0.50; Fixes RHBZ#2245161 --- .gitignore | 1 + rust-thiserror.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index a109b80..44729a3 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ /thiserror-1.0.47.crate /thiserror-1.0.48.crate /thiserror-1.0.49.crate +/thiserror-1.0.50.crate diff --git a/rust-thiserror.spec b/rust-thiserror.spec index 28933d7..156b4d6 100644 --- a/rust-thiserror.spec +++ b/rust-thiserror.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate thiserror Name: rust-thiserror -Version: 1.0.49 +Version: 1.0.50 Release: %autorelease Summary: Derive(Error) @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/thiserror Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Derive(Error).} @@ -48,7 +48,7 @@ use the "default" 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 1b099dd..2e083de 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (thiserror-1.0.49.crate) = a6b0476b9250f2a1555ad1f528b062fe7683f7aed338efaebd86b967e58d08f03ea10b4b6c502f4b6ccbeb44cf773b7511996a8504e541c1ea6a6efcc8cc2814 +SHA512 (thiserror-1.0.50.crate) = 65605a9cfbc43447a50980739259a45d933f1eb315926dce909892f7162c79bd04bfcee7b38b5a9fa71b24fbe4416d050ae8e2443932577541513a23ebeeac46