|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
# * Some tests are broken on non-x86_64
|
|
|
|
# * Some tests are broken on non-x86_64
|
|
|
|
# https://github.com/rayon-rs/rayon/issues/585
|
|
|
|
# https://github.com/rayon-rs/rayon/issues/585
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
@ -7,8 +7,8 @@
|
|
|
|
%global crate rayon
|
|
|
|
%global crate rayon
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 1.0.3
|
|
|
|
Version: 1.1.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Simple work-stealing parallelism for Rust
|
|
|
|
Summary: Simple work-stealing parallelism for Rust
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
@ -16,22 +16,31 @@ License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/rayon
|
|
|
|
URL: https://crates.io/crates/rayon
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Bump crossbeam-deque to 0.4, upstream doesn't want this
|
|
|
|
# * Bump crossbeam-deque to 0.7, upstream doesn't want this
|
|
|
|
Patch0: rayon-fix-metadata.diff
|
|
|
|
Patch0: rayon-fix-metadata.diff
|
|
|
|
|
|
|
|
# https://github.com/rayon-rs/rayon/compare/master...cuviper:crossbeam-deque-0.7
|
|
|
|
|
|
|
|
Patch1: 0001-Update-to-crossbeam-deque-0.7.patch
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(crossbeam-deque/default) >= 0.4.0 with crate(crossbeam-deque/default) < 0.5.0)
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildRequires: (crate(crossbeam-deque/default) >= 0.7.1 with crate(crossbeam-deque/default) < 0.8.0)
|
|
|
|
BuildRequires: (crate(either) >= 1.0.0 with crate(either) < 2.0.0)
|
|
|
|
BuildRequires: (crate(either) >= 1.0.0 with crate(either) < 2.0.0)
|
|
|
|
BuildRequires: (crate(rayon-core/default) >= 1.4.0 with crate(rayon-core/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(rayon-core/default) >= 1.5.0 with crate(rayon-core/default) < 2.0.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(doc-comment/default) >= 0.3.0 with crate(doc-comment/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(docopt/default) >= 1.0.0 with crate(docopt/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(docopt/default) >= 1.0.0 with crate(docopt/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
|
|
|
|
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)
|
|
|
|
|
|
|
|
BuildRequires: (crate(rand_xorshift/default) >= 0.1.0 with crate(rand_xorshift/default) < 0.2.0)
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description \
|
|
|
|
Simple work-stealing parallelism for Rust.
|
|
|
|
Simple work-stealing parallelism for Rust.
|
|
|
@ -80,6 +89,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jun 13 2019 Josh Stone <jistone@redhat.com> - 1.1.0-1
|
|
|
|
|
|
|
|
- Update to 1.1.0
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.3-3
|
|
|
|
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.3-3
|
|
|
|
- Adapt to new packaging
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
|
|
|
|