diff --git a/rust-rand_pcg.spec b/rust-rand_pcg.spec index 501cf37..fd6eb36 100644 --- a/rust-rand_pcg.spec +++ b/rust-rand_pcg.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate rand_pcg Name: rust-%{crate} Version: 0.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Selected PCG random number generators # Upstream license specification: MIT/Apache-2.0 @@ -16,16 +15,21 @@ URL: https://crates.io/crates/rand_pcg Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(autocfg/default) >= 0.1.0 with crate(autocfg/default) < 0.2.0) BuildRequires: (crate(rand_core/default) >= 0.4.0 with crate(rand_core/default) < 0.5.0) %if %{with check} BuildRequires: (crate(bincode/default) >= 1.1.2 with crate(bincode/default) < 2.0.0) %endif +%endif -%global _description \ -Selected PCG random number generators. +%global _description %{expand: +Selected PCG random number generators.} %description %{_description} @@ -107,6 +111,9 @@ which use "serde_derive" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 15:47:34 CEST 2019 Igor Gnatenko - 0.1.2-3 +- Regenerate + * Sun Mar 10 2019 Igor Gnatenko - 0.1.2-2 - Do not pull optional dependencies