diff --git a/rust-parking_lot_core.spec b/rust-parking_lot_core.spec index 02cd7dc..764728e 100644 --- a/rust-parking_lot_core.spec +++ b/rust-parking_lot_core.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm-9-1.fc31 -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate parking_lot_core Name: rust-%{crate} Version: 0.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Advanced API for creating custom synchronization primitives # Upstream license specification: Apache-2.0/MIT @@ -18,16 +18,21 @@ Source: %{crates_source} Patch0: parking_lot_core-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) BuildRequires: (crate(libc/default) >= 0.2.27 with crate(libc/default) < 0.3.0) BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) BuildRequires: (crate(rustc_version/default) >= 0.2.0 with crate(rustc_version/default) < 0.3.0) BuildRequires: (crate(smallvec/default) >= 0.6.0 with crate(smallvec/default) < 0.7.0) +%endif -%global _description \ -An advanced API for creating custom synchronization primitives. +%global _description %{expand: +Advanced API for creating custom synchronization primitives.} %description %{_description} @@ -132,6 +137,9 @@ which use "thread-id" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 14:27:53 CEST 2019 Igor Gnatenko - 0.5.0-2 +- Regenerate + * Mon May 06 15:46:51 CEST 2019 Igor Gnatenko - 0.5.0-1 - Update to 0.5.0