From be5f4dfe859476caa44c6281d19542cf0c3b7c73 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 8 Oct 2023 15:24:12 +0200 Subject: [PATCH] Update to version 2.3.0; Fixes RHBZ#2242648 --- .gitignore | 1 + rust-similar.spec | 10 +++++----- rust2rpm.toml | 3 +++ sources | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 18c387b..0bf99e3 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /similar-2.1.0.crate /similar-2.2.0.crate /similar-2.2.1.crate +/similar-2.3.0.crate diff --git a/rust-similar.spec b/rust-similar.spec index 14cb05c..d56a848 100644 --- a/rust-similar.spec +++ b/rust-similar.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 25 # * resolve dependency loop with insta %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate similar Name: rust-similar -Version: 2.2.1 +Version: 2.3.0 Release: %autorelease Summary: Diff library for Rust @@ -14,10 +14,10 @@ License: Apache-2.0 URL: https://crates.io/crates/similar Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Diff library for Rust.} +A diff library for Rust.} %description %{_description} @@ -133,7 +133,7 @@ use the "unicode-segmentation" 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/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..3189511 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["none"] +comments = ["resolve dependency loop with insta"] diff --git a/sources b/sources index 8abc70b..fc3a679 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (similar-2.2.1.crate) = 9a353bfbe495bab83e401314bb97c6605fa6283af06e03bad50bc429388c7abf44bb9cc68db781ef2b786840eb444907f35b70b17343b2cb993800536b4e36a2 +SHA512 (similar-2.3.0.crate) = d0b8fe77d03a94f9ca3b21bbc481c22055c16930931ef73240c1cccc6a47c5f8133b2921fa88aa290ef9257a9238afea8168f3b4a0d3e5b679cfbb9493c05b14