diff --git a/rust-parking_lot.spec b/rust-parking_lot.spec index e625a77..d4be168 100644 --- a/rust-parking_lot.spec +++ b/rust-parking_lot.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 Name: rust-%{crate} Version: 0.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Compact and efficient implementations of standard synchronization primitives # Upstream license specification: Apache-2.0/MIT @@ -15,8 +15,12 @@ URL: https://crates.io/crates/parking_lot Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(lock_api/default) >= 0.2.0 with crate(lock_api/default) < 0.3.0) BuildRequires: (crate(parking_lot_core/default) >= 0.5.0 with crate(parking_lot_core/default) < 0.6.0) BuildRequires: (crate(rustc_version/default) >= 0.2.0 with crate(rustc_version/default) < 0.3.0) @@ -25,10 +29,11 @@ BuildRequires: (crate(bincode/default) >= 1.1.3 with crate(bincode/default) < 2 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) %endif +%endif -%global _description \ -More compact and efficient implementations of the standard synchronization\ -primitives. +%global _description %{expand: +More compact and efficient implementations of the standard synchronization +primitives.} %description %{_description} @@ -122,6 +127,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 14:50:18 CEST 2019 Igor Gnatenko - 0.8.0-2 +- Regenerate + * Mon May 06 15:48:12 CEST 2019 Igor Gnatenko - 0.8.0-1 - Update to 0.8.0