From 566d42e384fceda43b5ba785230dd60797dc27bb Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 25 May 2022 12:35:54 +0200 Subject: [PATCH] Update to version 1.9.3; Fixes RHBZ#2075356 --- .gitignore | 1 + rust-rayon-core.spec | 26 ++++++++++++-------------- sources | 2 +- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 985dc35..4ff4ced 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /rayon-core-1.8.1.crate /rayon-core-1.9.0.crate /rayon-core-1.9.1.crate +/rayon-core-1.9.3.crate diff --git a/rust-rayon-core.spec b/rust-rayon-core.spec index 0d0a0b8..33c321c 100644 --- a/rust-rayon-core.spec +++ b/rust-rayon-core.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 21 # * Some tests don't work with optimized builds # https://github.com/rayon-rs/rayon/issues/585 %bcond_with check @@ -7,21 +7,18 @@ %global crate rayon-core Name: rust-%{crate} -Version: 1.9.1 +Version: 1.9.3 Release: %autorelease Summary: Core APIs for Rayon -# Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 URL: https://crates.io/crates/rayon-core Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Core APIs for Rayon.} @@ -35,12 +32,13 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,10 +47,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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 147a18a..2c6f48b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rayon-core-1.9.1.crate) = c24c34dc488171ce476df145e8c6953d35fea93412805f6c411ba8b8e9dbbd733610b291203ee91bd265b766b78e14ba15a7b587e8f0ae8bde53f60e0644ef78 +SHA512 (rayon-core-1.9.3.crate) = 4b852f083766e7e414132840cc8dfef148e15db47967eeedc2ddbff9a4372521c296dd4f66e0b6990f49a8ce88ebed9d44e7ad674df42f96b99b24469b1852a5