diff --git a/rust-rand_xoshiro.spec b/rust-rand_xoshiro.spec index 71a2e36..5a86578 100644 --- a/rust-rand_xoshiro.spec +++ b/rust-rand_xoshiro.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate rand_xoshiro Name: rust-%{crate} Version: 0.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Xoshiro, xoroshiro and splitmix64 random number generators # Upstream license specification: MIT/Apache-2.0 @@ -15,17 +15,22 @@ URL: https://crates.io/crates/rand_xoshiro Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.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.0.0 with crate(bincode/default) < 2.0.0) BuildRequires: (crate(rand) >= 0.6.0 with crate(rand) < 0.7.0) %endif +%endif -%global _description \ -Xoshiro, xoroshiro and splitmix64 random number generators. +%global _description %{expand: +Xoshiro, xoroshiro and splitmix64 random number generators.} %description %{_description} @@ -107,6 +112,9 @@ which use "serde_derive" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 17:05:21 CEST 2019 Igor Gnatenko - 0.2.0-2 +- Regenerate + * Thu May 30 16:49:03 CEST 2019 Robert-André Mauchin - 0.2.0-1 - Release 0.2.0