From 0c4fbb399e4d4a7db36abb19ce62aaf51699d139 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 8 Oct 2023 15:12:48 +0200 Subject: [PATCH] Update to version 0.2.17; Fixes RHBZ#2242675 --- .gitignore | 1 + rust-num-traits.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c855efc..88c2bdc 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /num-traits-0.2.14.crate /num-traits-0.2.15.crate /num-traits-0.2.16.crate +/num-traits-0.2.17.crate diff --git a/rust-num-traits.spec b/rust-num-traits.spec index 6d5b9bd..2109305 100644 --- a/rust-num-traits.spec +++ b/rust-num-traits.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate num-traits Name: rust-num-traits -Version: 0.2.16 +Version: 0.2.17 Release: %autorelease Summary: Numeric traits for generic mathematics @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/num-traits Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Numeric traits for generic mathematics.} @@ -85,7 +85,7 @@ use the "std" 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 6913fe9..03d414b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-traits-0.2.16.crate) = 2ef65e2f6275b1000f611cc4d019b2f4846a8964b54d9b96462da10e3ac9edbf3d1de82e40094c76f7f5205740361b0eb0ced414bcddbaba5955144f728c6f94 +SHA512 (num-traits-0.2.17.crate) = 4d47d3e2f5a31019e038e609897cb0cef1ba061b35cee7e2a02e65179dcdd4960bd5b9bc759b5c013d699b3fbd9b014940a15e36658f7d4fd12cb0c7841c5b4e