From 86754b31bf14e6693179adb7ca5a0043961ba7c9 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 14 Feb 2024 17:10:25 +0100 Subject: [PATCH] Update to version 1.10.0; Fixes RHBZ#2263610 --- .gitignore | 1 + rust-either.spec | 8 ++++---- rust2rpm.conf | 2 -- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index f35236a..036bfee 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /either-1.8.0.crate /either-1.8.1.crate /either-1.9.0.crate +/either-1.10.0.crate diff --git a/rust-either.spec b/rust-either.spec index e5f966c..aa80191 100644 --- a/rust-either.spec +++ b/rust-either.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate either Name: rust-either -Version: 1.9.0 +Version: 1.10.0 Release: %autorelease Summary: General purpose sum type with two cases @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/either Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: The enum `Either` with variants `Left` and `Right` is a general purpose @@ -74,7 +74,7 @@ use the "use_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/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 98346c7..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = General purpose sum type with two cases diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..6a85f05 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "General purpose sum type with two cases" + diff --git a/sources b/sources index d84f943..2982970 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (either-1.9.0.crate) = 4978d50842386f51e31a47ad037d5e491106a668bc701bb833e6ec3998afe3ebd80efddc47756b2f300f534b39b26fc01386dc878d3b02cc8c1fec6a474c2177 +SHA512 (either-1.10.0.crate) = 2de38a37b7f3e61effa89648acadbf220eacfda1ca7c82fb77484e45577769b724f7dbaa297e73e3d355d6b1bd5109373c3e96e4c1a13a918176162b33ea2432