From 784e15743ae5ffd850aedc2a60cad6d0725ff92c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 7 Jan 2024 21:54:10 +0100 Subject: [PATCH] Update to version 0.10.1; Fixes RHBZ#2257161 --- .gitignore | 1 + rust-strsim.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index e909afc..0060994 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /strsim-0.9.2.crate /strsim-0.9.3.crate /strsim-0.10.0.crate +/strsim-0.10.1.crate diff --git a/rust-strsim.spec b/rust-strsim.spec index 2cb3162..bcdb339 100644 --- a/rust-strsim.spec +++ b/rust-strsim.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate strsim Name: rust-strsim -Version: 0.10.0 +Version: 0.10.1 Release: %autorelease Summary: Implementations of string similarity metrics @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/strsim Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Implementations of string similarity metrics. Includes Hamming, @@ -50,7 +50,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 2c8b764..c8a3e9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (strsim-0.10.0.crate) = 78b318532addfcf5c1ccc1e14539e258aab9d3cd893cc45d82342549bde838c177d90f13c560671f8f32929af47d0b467db35e6876bd7697d8b3f9e055aeeac1 +SHA512 (strsim-0.10.1.crate) = fb4ad4e498016537c58e2f4d48e17023288bfe3320930eac6539a11d2799f460b57422601345c9d2ebfcd0c291ed209c9b1fc8b719568486d44f7c70d11754ed