|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
# * average is not packaged
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.6.5
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Random number generators and other randomness functionality
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -24,25 +24,6 @@ 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(libc) >= 0.2.0 with crate(libc) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(rand_chacha/default) >= 0.1.0 with crate(rand_chacha/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(rand_core/alloc) >= 0.4.0 with crate(rand_core/alloc) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(rand_core/default) >= 0.4.0 with crate(rand_core/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(rand_core/std) >= 0.4.0 with crate(rand_core/std) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(rand_hc/default) >= 0.1.0 with crate(rand_hc/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(rand_isaac/default) >= 0.1.0 with crate(rand_isaac/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(rand_jitter/default) >= 0.1.0 with crate(rand_jitter/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(rand_jitter/std) >= 0.1.0 with crate(rand_jitter/std) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(rand_os/default) >= 0.1.0 with crate(rand_os/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(rand_pcg/default) >= 0.1.0 with crate(rand_pcg/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(rand_xorshift/default) >= 0.1.0 with crate(rand_xorshift/default) < 0.2.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(average/default) >= 0.9.2 with crate(average/default) < 0.10.0)
|
|
|
|
|
BuildRequires: (crate(rand_xoshiro/default) >= 0.1.0 with crate(rand_xoshiro/default) < 0.2.0)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Random number generators and other randomness functionality.}
|
|
|
|
@ -211,6 +192,9 @@ which use "wasm-bindgen" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -223,6 +207,9 @@ which use "wasm-bindgen" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 20 11:42:26 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.5-5
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 14:58:38 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.5-4
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|