diff --git a/rust-crossbeam-epoch.spec b/rust-crossbeam-epoch.spec index d7d52df..3582e49 100644 --- a/rust-crossbeam-epoch.spec +++ b/rust-crossbeam-epoch.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm-9-1.fc31 -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate crossbeam-epoch Name: rust-%{crate} Version: 0.7.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Epoch-based garbage collection # Upstream license specification: MIT/Apache-2.0 @@ -18,21 +18,14 @@ Source: %{crates_source} Patch0: crossbeam-epoch-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(arrayvec) >= 0.4.0 with crate(arrayvec) < 0.5.0) -BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) -BuildRequires: (crate(crossbeam-utils) >= 0.6.0 with crate(crossbeam-utils) < 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.0.0 with crate(lazy_static/default) < 2.0.0) -BuildRequires: (crate(memoffset/default) >= 0.2.0 with crate(memoffset/default) < 0.3.0) -BuildRequires: (crate(scopeguard) >= 1.0.0 with crate(scopeguard) < 2.0.0) -%if %{with check} -BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) -%endif -%global _description \ -Epoch-based garbage collection. +%global _description %{expand: +Epoch-based garbage collection.} %description %{_description} @@ -114,6 +107,9 @@ which use "std" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -126,6 +122,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 20 09:24:50 CEST 2019 Igor Gnatenko - 0.7.1-4 +- Regenerate + * Tue May 07 07:29:43 CEST 2019 Igor Gnatenko - 0.7.1-3 - Update scopeguard to 1