|
|
@ -5,8 +5,8 @@
|
|
|
|
%global crate crossbeam
|
|
|
|
%global crate crossbeam
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.4.1
|
|
|
|
Version: 0.5.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Support for concurrent programming
|
|
|
|
Summary: Support for concurrent programming
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
@ -15,19 +15,24 @@ URL: https://crates.io/crates/crossbeam
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * No nightly
|
|
|
|
# * No nightly
|
|
|
|
|
|
|
|
# * Bump rand to 0.6, parking_lot to 0.7
|
|
|
|
Patch0: crossbeam-fix-metadata.diff
|
|
|
|
Patch0: crossbeam-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(crossbeam-channel/default) >= 0.2.0 with crate(crossbeam-channel/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0)
|
|
|
|
BuildRequires: (crate(crossbeam-deque/default) >= 0.5.0 with crate(crossbeam-deque/default) < 0.6.0)
|
|
|
|
BuildRequires: (crate(crossbeam-channel/default) >= 0.3.0 with crate(crossbeam-channel/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(crossbeam-epoch/default) >= 0.5.0 with crate(crossbeam-epoch/default) < 0.6.0)
|
|
|
|
BuildRequires: (crate(crossbeam-deque/default) >= 0.6.0 with crate(crossbeam-deque/default) < 0.7.0)
|
|
|
|
BuildRequires: (crate(crossbeam-epoch/use_std) >= 0.5.0 with crate(crossbeam-epoch/use_std) < 0.6.0)
|
|
|
|
BuildRequires: (crate(crossbeam-epoch/default) >= 0.6.0 with crate(crossbeam-epoch/default) < 0.7.0)
|
|
|
|
BuildRequires: (crate(crossbeam-utils/default) >= 0.5.0 with crate(crossbeam-utils/default) < 0.6.0)
|
|
|
|
BuildRequires: (crate(crossbeam-epoch/std) >= 0.6.0 with crate(crossbeam-epoch/std) < 0.7.0)
|
|
|
|
BuildRequires: (crate(crossbeam-utils/use_std) >= 0.5.0 with crate(crossbeam-utils/use_std) < 0.6.0)
|
|
|
|
BuildRequires: (crate(crossbeam-utils/default) >= 0.6.0 with crate(crossbeam-utils/default) < 0.7.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(crossbeam-utils/std) >= 0.6.0 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)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.5.0 with crate(rand/default) < 0.6.0)
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description \
|
|
|
@ -49,8 +54,6 @@ which use "%{crate}" crate.
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
# https://github.com/aturon/crossbeam/issues/111
|
|
|
|
|
|
|
|
%exclude %{_bindir}/{stress-msq,bench}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -64,16 +67,16 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+use_std-devel
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+use_std-devel %{_description}
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "use_std" feature of "%{crate}" crate.
|
|
|
|
which use "std" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+use_std-devel
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
@ -92,6 +95,9 @@ which use "use_std" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Dec 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
|
|
|
|
|
|
|
|
- Update to 0.5.0
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 13 2018 Josh Stone <jistone@redhat.com> - 0.4.1-2
|
|
|
|
* Tue Nov 13 2018 Josh Stone <jistone@redhat.com> - 0.4.1-2
|
|
|
|
- Adapt to new packaging
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
|
|
|
|