diff --git a/.gitignore b/.gitignore index 753cb3b..7d429d3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,7 @@ /crossbeam-channel-0.4.4.crate /crossbeam-channel-0.5.0.crate /crossbeam-channel-0.5.1.crate +/crossbeam-channel-0.5.2.crate +/crossbeam-channel-0.5.4.crate +/crossbeam-channel-0.5.5.crate +/crossbeam-channel-0.5.6.crate diff --git a/rust-crossbeam-channel.spec b/rust-crossbeam-channel.spec index b2b3ed2..cc5e42e 100644 --- a/rust-crossbeam-channel.spec +++ b/rust-crossbeam-channel.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate crossbeam-channel -Name: rust-%{crate} -Version: 0.5.1 +Name: rust-crossbeam-channel +Version: 0.5.6 Release: %autorelease Summary: Multi-producer multi-consumer channels for message passing -# 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-channel Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Multi-producer multi-consumer channels for message passing.} @@ -33,12 +29,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 LICENSE-THIRD-PARTY -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/LICENSE-THIRD-PARTY +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,10 +46,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 %package -n %{name}+crossbeam-utils-devel Summary: %{summary} @@ -59,10 +58,10 @@ BuildArch: noarch %description -n %{name}+crossbeam-utils-devel %{_description} This package contains library source intended for building other packages which -use "the crossbeam-utils" feature of the "%{crate}" crate. +use the "crossbeam-utils" feature of the "%{crate}" crate. %files -n %{name}+crossbeam-utils-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -71,10 +70,10 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which -use "the std" feature of the "%{crate}" crate. +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 @@ -91,8 +90,8 @@ use "the std" feature of the "%{crate}" crate. %if %{with check} %check -# Test below is just unreliable -# https://github.com/crossbeam-rs/crossbeam/pull/474#issuecomment-589250957 +# * skip unreliable tests: +# https://github.com/crossbeam-rs/crossbeam/pull/474#issuecomment-589250957 %cargo_test -- -- --skip fairness2 --skip select2::main %endif diff --git a/sources b/sources index cc64eec..17b752f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-channel-0.5.1.crate) = f15aff67e9105584f5fe41e1ee650ae4fdd0d0ca0fa9202ee83c6f6025398a300decaa50d1b4682e8afb9bd6e11e95b69bcf23f68ae117419aa84df14ee7747b +SHA512 (crossbeam-channel-0.5.6.crate) = de6a42ffede95750a13e3b9af6ab26cbc498125860cd8e4d227c7361bd831e558254a48bdef5cf901585a915003071b0efa321f2011f282218c364780f62f44a