From bfa976612dd3868705c7a968a6eb14633a2e2172 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 29 Mar 2022 12:58:08 +0200 Subject: [PATCH] Update to version 0.5.4; Fixes RHBZ#2064277 --- .gitignore | 1 + rust-crossbeam-channel.spec | 21 ++++++++++++--------- sources | 2 +- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index dd5d8a4..0579034 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /crossbeam-channel-0.5.0.crate /crossbeam-channel-0.5.1.crate /crossbeam-channel-0.5.2.crate +/crossbeam-channel-0.5.4.crate diff --git a/rust-crossbeam-channel.spec b/rust-crossbeam-channel.spec index ec73922..0154203 100644 --- a/rust-crossbeam-channel.spec +++ b/rust-crossbeam-channel.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate crossbeam-channel Name: rust-%{crate} -Version: 0.5.2 +Version: 0.5.4 Release: %autorelease Summary: Multi-producer multi-consumer channels for message passing @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Multi-producer multi-consumer channels for message passing.} @@ -33,9 +33,12 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/LICENSE-THIRD-PARTY +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +50,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossbeam-utils-devel Summary: %{summary} @@ -59,7 +62,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -71,7 +74,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 5147af9..88cde92 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-channel-0.5.2.crate) = dc8dbfa40a7046ad82da3f33a20b29d216ff98180217489653e53aa46244089d1fd2490051d3f05b00333911e303e9efe76d16d4cbce8257be91f96554fb88d0 +SHA512 (crossbeam-channel-0.5.4.crate) = 39b17dbaefc15d7faafca4ae6b060665471d384956aca7439fc407ed2632bd458e473efb62b74629b42a5f3d237e13503d2084cac6f6b3f42b9e03aa1fde0982