From ae0ec9dacecc9dee5c9d276da7bdaf16a4719ec7 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 18 Jul 2022 10:23:28 +0200 Subject: [PATCH] Update to version 1.2.3; Fixes RHBZ#2107905 --- .gitignore | 1 + rust-concurrent-queue.spec | 27 +++++++++++++-------------- sources | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 8ae72ec..18c2e6a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /concurrent-queue-1.2.2.crate +/concurrent-queue-1.2.3.crate diff --git a/rust-concurrent-queue.spec b/rust-concurrent-queue.spec index ce5c3d9..5409ee4 100644 --- a/rust-concurrent-queue.spec +++ b/rust-concurrent-queue.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate concurrent-queue Name: rust-%{crate} -Version: 1.2.2 +Version: 1.2.3 Release: %autorelease Summary: Concurrent multi-producer multi-consumer queue @@ -15,11 +15,8 @@ URL: https://crates.io/crates/concurrent-queue Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Concurrent multi-producer multi-consumer queue.} @@ -32,13 +29,15 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +45,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 887c88d..f16b479 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (concurrent-queue-1.2.2.crate) = 84e348dc3d40c73c11c54ecd0f1e6cf7fd6c7033f4723a428ed1c09bc9548cf317a0d8182144b689cb9781190b9c8ce4374717012eccee54a11ed0869dee10fc +SHA512 (concurrent-queue-1.2.3.crate) = 1944465ddb7f05e3741de3bc50dd2eac77a73bc923f42049ab3733440e8bc2dec38daccb882f4818bde490eecc387338b1d7e569e84ddf3bc710131381530cec