diff --git a/rust-rayon.spec b/rust-rayon.spec index 9b8a976..f79a848 100644 --- a/rust-rayon.spec +++ b/rust-rayon.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 10 # * Some tests are broken on non-x86_64 # https://github.com/rayon-rs/rayon/issues/585 %bcond_with check @@ -8,7 +8,7 @@ Name: rust-%{crate} Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple work-stealing parallelism for Rust # Upstream license specification: Apache-2.0/MIT @@ -27,23 +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(either) >= 1.0.0 with crate(either) < 2.0.0) -BuildRequires: (crate(rayon-core/default) >= 1.5.0 with crate(rayon-core/default) < 2.0.0) -%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(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.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_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0) -%endif -%endif -%global _description \ -Simple work-stealing parallelism for Rust. +%global _description %{expand: +Simple work-stealing parallelism for Rust.} %description %{_description} @@ -77,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 @@ -89,6 +78,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 20 00:19:01 CEST 2019 Igor Gnatenko - 1.1.0-2 +- Regenerate + * Thu Jun 13 2019 Josh Stone - 1.1.0-1 - Update to 1.1.0