diff --git a/.gitignore b/.gitignore index 2c0de49..4bb232f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /rayon-1.4.1.crate /rayon-1.5.0.crate /rayon-1.5.1.crate +/rayon-1.5.3.crate diff --git a/rust-rayon.spec b/rust-rayon.spec index 4b4b4e0..b139858 100644 --- a/rust-rayon.spec +++ b/rust-rayon.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 21 # * Some tests are broken on non-x86_64 # https://github.com/rayon-rs/rayon/issues/585 %bcond_with check @@ -7,21 +7,18 @@ %global crate rayon Name: rust-%{crate} -Version: 1.5.1 +Version: 1.5.3 Release: %autorelease Summary: Simple work-stealing parallelism for Rust -# 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 Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Simple work-stealing parallelism for Rust.} @@ -35,12 +32,15 @@ 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 FAQ.md README.md RELEASES.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/FAQ.md +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/RELEASES.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,10 +49,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 606bd88..c5ff42a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rayon-1.5.1.crate) = a68e65aae7040a6f6b0cc33b53b4c22929c15504ed4fdf54f5eb5fcaeab137c220b00c716aed96246b6a762c4f1e8be920356231d6c4a0b3e01132b9ab96ffc9 +SHA512 (rayon-1.5.3.crate) = 47909226951c4d6b774880dd308e2633b1582e41e7730ac8af902895578e6f29a9b1bc47debbd9618c5a45f317b4f264480392c8982aa33576deeb9d5f8ffb82