From b9d5802db8f073e9bf83d8b13084cba3655adcd4 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 15 Apr 2023 19:37:46 +0200 Subject: [PATCH] Update to version 3.3.0; Fixes RHBZ#2185289 --- .gitignore | 1 + rust-easy-parallel.spec | 23 +++++++++++------------ sources | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 1c2ca2b..bb57347 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /easy-parallel-3.1.0.crate /easy-parallel-3.2.0.crate +/easy-parallel-3.3.0.crate diff --git a/rust-easy-parallel.spec b/rust-easy-parallel.spec index 050f52a..5717e1c 100644 --- a/rust-easy-parallel.spec +++ b/rust-easy-parallel.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate easy-parallel -Name: rust-%{crate} -Version: 3.2.0 +Name: rust-easy-parallel +Version: 3.3.0 Release: %autorelease Summary: Run closures in parallel -# Upstream license specification: Apache-2.0 OR MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/easy-parallel Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Run closures in parallel.} @@ -33,9 +30,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.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} @@ -47,7 +46,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index b808610..d68de47 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (easy-parallel-3.2.0.crate) = 0c83fa27d6d72be2afc3dd6fabf21b1b06e3aed70b60ba059b3447f6e593611224ddbf76fdcfe412a5b7d45936421afef2d4aa7e4162811177aabdb9e7af56d7 +SHA512 (easy-parallel-3.3.0.crate) = 1c30803598f13e03003e7fc5249ef4ea3002b5960b0f5e8bfea8423a006e29e523cc4ba44dcf829c71580d5663b5058b4bbef85e4458465a3cdbfbcbad074233