|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
# * Some tests don't work with optimized builds
|
|
|
|
|
# https://github.com/rayon-rs/rayon/issues/585
|
|
|
|
|
%bcond_with check
|
|
|
|
@ -27,22 +27,9 @@ BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
BuildRequires: (crate(crossbeam-deque/default) >= 0.7.1 with crate(crossbeam-deque/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(crossbeam-queue/default) >= 0.1.2 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(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(num_cpus/default) >= 1.2.0 with crate(num_cpus/default) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.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(scoped-tls/default) >= 1.0.0 with crate(scoped-tls/default) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Core APIs for Rayon.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Core APIs for Rayon.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -76,6 +63,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -88,6 +78,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 20 09:41:55 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.0-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Thu Jun 13 2019 Josh Stone <jistone@redhat.com> - 1.5.0-1
|
|
|
|
|
- Update to 1.5.0
|
|
|
|
|
|
|
|
|
|