From 5704c83ec5251c3eb9bf3dfc7ea873ccacf8d50f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 27 Dec 2023 21:35:32 +0100 Subject: [PATCH] Update to version 0.5.10; Fixes RHBZ#2254354 --- .gitignore | 1 + rust-crossbeam-channel.spec | 20 ++++---------------- sources | 2 +- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 6ebe3b3..c025a22 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /crossbeam-channel-0.5.6.crate /crossbeam-channel-0.5.7.crate /crossbeam-channel-0.5.8.crate +/crossbeam-channel-0.5.10.crate diff --git a/rust-crossbeam-channel.spec b/rust-crossbeam-channel.spec index 1b6da60..8a87d08 100644 --- a/rust-crossbeam-channel.spec +++ b/rust-crossbeam-channel.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate crossbeam-channel Name: rust-crossbeam-channel -Version: 0.5.8 +Version: 0.5.10 Release: %autorelease Summary: Multi-producer multi-consumer channels for message passing @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/crossbeam-channel Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Multi-producer multi-consumer channels for message passing.} @@ -49,18 +49,6 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+crossbeam-utils-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+crossbeam-utils-devel %{_description} - -This package contains library source intended for building other packages which -use the "crossbeam-utils" feature of the "%{crate}" crate. - -%files -n %{name}+crossbeam-utils-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -74,7 +62,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 6d28c80..27a1bbd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-channel-0.5.8.crate) = 47677d6fe63050c51393e4a0537a3c65d7055c9eae118ebe60c5d716b4f47f23c2b1947b1e1b66bfb34a57c4db3a44631d323e996dd545565fe4f58c25863ff4 +SHA512 (crossbeam-channel-0.5.10.crate) = afd65fda772f9f225e1b372d27fd90f991097c57ac9b2747a40702e50791c6d702d1342088c99c2243873cbe6126f7c4e8df8f41b00bf4db3dbccfae1ae0063e