From 9f1914cf689db2fe0bfbd108a6f9bbb50e89524c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 23 Oct 2024 16:54:17 +0200 Subject: [PATCH] Update to version 0.4.2 --- .gitignore | 1 + rust-num-rational.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index b4bf0a6..37aac81 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /num-rational-0.3.2.crate /num-rational-0.4.0.crate /num-rational-0.4.1.crate +/num-rational-0.4.2.crate diff --git a/rust-num-rational.spec b/rust-num-rational.spec index 2b028f8..15661e5 100644 --- a/rust-num-rational.spec +++ b/rust-num-rational.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate num-rational Name: rust-num-rational -Version: 0.4.1 +Version: 0.4.2 Release: %autorelease Summary: Rational numbers implementation for Rust @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/num-rational Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rational numbers implementation for Rust.} @@ -97,7 +97,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 e20b0ce..71e46bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-rational-0.4.1.crate) = a7547ca663543e9da9e18dd079762cde371b85d55874a54d6b343ba775a9373392c85cebad511c53b5af5db298bd5d57ccef6161c1c28587a6c9fa2c5962a0bd +SHA512 (num-rational-0.4.2.crate) = 0999130db45e5d877d1e2232c8900cc633bd39e749186b2ef4ac4343b958dcc80edcc2247df5f229546dcb3537fd45984a7a459a9bd8f62aee69a0239fce0b62