|
|
|
@ -6,14 +6,14 @@
|
|
|
|
|
%global crate crossbeam
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.6.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Support for concurrent programming
|
|
|
|
|
Version: 0.7.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Tools for concurrent programming
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/crossbeam
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * No nightly
|
|
|
|
|
Patch0: crossbeam-fix-metadata.diff
|
|
|
|
@ -22,22 +22,19 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-channel/default) >= 0.3.4 with crate(crossbeam-channel/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-deque/default) >= 0.6.3 with crate(crossbeam-deque/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-epoch/default) >= 0.7.0 with crate(crossbeam-epoch/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-epoch/std) >= 0.7.0 with crate(crossbeam-epoch/std) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-utils/default) >= 0.6.3 with crate(crossbeam-utils/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-utils/std) >= 0.6.3 with crate(crossbeam-utils/std) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.1.0 with crate(lazy_static/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(num_cpus/default) >= 1.8.0 with crate(num_cpus/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(parking_lot/default) >= 0.7.0 with crate(parking_lot/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-channel/default) >= 0.3.7 with crate(crossbeam-channel/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-deque/default) >= 0.7.0 with crate(crossbeam-deque/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-epoch/default) >= 0.7.1 with crate(crossbeam-epoch/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-epoch/std) >= 0.7.1 with crate(crossbeam-epoch/std) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-queue/default) >= 0.1.0 with crate(crossbeam-queue/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-utils/default) >= 0.6.5 with crate(crossbeam-utils/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-utils/std) >= 0.6.5 with crate(crossbeam-utils/std) < 0.7.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Support for concurrent programming: memory management, utilities, non-blocking\
|
|
|
|
|
data structures.
|
|
|
|
|
Tools for concurrent programming.
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -80,7 +77,7 @@ which use "std" 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
|
|
|
|
@ -95,6 +92,9 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-1
|
|
|
|
|
- Update to 0.7.1
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|