diff --git a/rust-once_cell.spec b/rust-once_cell.spec index 6452aa6..d90a97f 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm-9-1.fc30 -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate once_cell Name: rust-%{crate} Version: 0.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Single assignment cells and lazy static values without macros # Upstream license specification: MIT OR Apache-2.0 @@ -15,16 +15,14 @@ URL: https://crates.io/crates/once_cell Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(lock_api) >= 0.2.0 with crate(lock_api) < 0.3.0) -BuildRequires: (crate(parking_lot) >= 0.8.0 with crate(parking_lot) < 0.9.0) -%if %{with check} -BuildRequires: (crate(crossbeam-utils/default) >= 0.6.0 with crate(crossbeam-utils/default) < 0.7.0) -%endif -%global _description \ -Single assignment cells and lazy static values without macros. +%global _description %{expand: +Single assignment cells and lazy static values without macros.} %description %{_description} @@ -82,6 +80,9 @@ which use "parking_lot" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -94,6 +95,9 @@ which use "parking_lot" feature of "%{crate}" crate. %endif %changelog +* Mon Jul 01 20:54:06 CEST 2019 Igor Gnatenko - 0.2.1-2 +- Regenerate + * Thu Jun 06 2019 Josh Stone - 0.2.1-1 - Update to 0.2.1