diff --git a/.gitignore b/.gitignore index c851045..7aaa538 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /crossbeam-0.7.3.crate /crossbeam-0.8.0.crate /crossbeam-0.8.1.crate +/crossbeam-0.8.2.crate diff --git a/rust-crossbeam.spec b/rust-crossbeam.spec index eb8a0d6..44a77b2 100644 --- a/rust-crossbeam.spec +++ b/rust-crossbeam.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate crossbeam -Name: rust-%{crate} -Version: 0.8.1 +Name: rust-crossbeam +Version: 0.8.2 Release: %autorelease Summary: Tools for concurrent programming -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/crossbeam Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Tools for concurrent programming.} @@ -32,13 +28,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 +44,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 %package -n %{name}+alloc-devel Summary: %{summary} @@ -58,11 +56,11 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} -This package contains library source intended for building other packages -which use "alloc" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossbeam-channel-devel Summary: %{summary} @@ -70,11 +68,11 @@ BuildArch: noarch %description -n %{name}+crossbeam-channel-devel %{_description} -This package contains library source intended for building other packages -which use "crossbeam-channel" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "crossbeam-channel" feature of the "%{crate}" crate. %files -n %{name}+crossbeam-channel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossbeam-deque-devel Summary: %{summary} @@ -82,11 +80,11 @@ BuildArch: noarch %description -n %{name}+crossbeam-deque-devel %{_description} -This package contains library source intended for building other packages -which use "crossbeam-deque" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "crossbeam-deque" feature of the "%{crate}" crate. %files -n %{name}+crossbeam-deque-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossbeam-epoch-devel Summary: %{summary} @@ -94,11 +92,11 @@ BuildArch: noarch %description -n %{name}+crossbeam-epoch-devel %{_description} -This package contains library source intended for building other packages -which use "crossbeam-epoch" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "crossbeam-epoch" feature of the "%{crate}" crate. %files -n %{name}+crossbeam-epoch-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossbeam-queue-devel Summary: %{summary} @@ -106,11 +104,11 @@ BuildArch: noarch %description -n %{name}+crossbeam-queue-devel %{_description} -This package contains library source intended for building other packages -which use "crossbeam-queue" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "crossbeam-queue" feature of the "%{crate}" crate. %files -n %{name}+crossbeam-queue-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly-devel Summary: %{summary} @@ -118,11 +116,11 @@ BuildArch: noarch %description -n %{name}+nightly-devel %{_description} -This package contains library source intended for building other packages -which use "nightly" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "nightly" feature of the "%{crate}" crate. %files -n %{name}+nightly-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -130,11 +128,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +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 2dc92ba..64c14a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-0.8.1.crate) = 564f5623d1a4da7b0253f14946f2e71d14ac9195d80ab3b0ad8e2ba6fc7229745c8c70c2899852d48fc93cef009109d7d7cf2dc9c875273cb8ce9223b92b0beb +SHA512 (crossbeam-0.8.2.crate) = bd2e54372595daeaddcaa26802780959465bd571cac64f23256b7ecc68ff5c0161a36740a51386ee54abe7c509ad1ff870b6f6877a7921f4335661f2c554c3a0