|
|
|
@ -6,24 +6,22 @@
|
|
|
|
|
%global crate crossbeam-channel
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.3.6
|
|
|
|
|
Version: 0.3.7
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Multi-producer multi-consumer channels for message passing
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/crossbeam-channel
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(crossbeam-utils/default) >= 0.6.3 with crate(crossbeam-utils/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(parking_lot/default) >= 0.7.0 with crate(parking_lot/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-utils/default) >= 0.6.0 with crate(crossbeam-utils/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(smallvec/default) >= 0.6.2 with crate(smallvec/default) < 0.7.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(crossbeam/default) >= 0.5.0 with crate(crossbeam/default) < 0.6.0)
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(signal-hook/default) >= 0.1.5 with crate(signal-hook/default) < 0.2.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -59,7 +57,7 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -74,6 +72,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 28 2019 Josh Stone <jistone@redhat.com> - 0.3.7-1
|
|
|
|
|
- Update to 0.3.7
|
|
|
|
|
|
|
|
|
|
* Tue Jan 08 2019 Josh Stone <jistone@redhat.com> - 0.3.6-1
|
|
|
|
|
- Update to 0.3.6
|
|
|
|
|
|
|
|
|
|