|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.0.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Simple statistics library
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
@ -20,10 +20,6 @@ BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
BuildRequires: (crate(num/default) >= 0.2.0 with crate(num/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Simple statistics library.}
|
|
|
|
@ -60,6 +56,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -69,10 +68,13 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
# https://github.com/JeffBelgum/statistical/issues/16
|
|
|
|
|
%cargo_test || :
|
|
|
|
|
%cargo_test -- -- --skip univariate_::test::test_pkurtosis
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jul 21 08:55:28 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.0-3
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 14:46:19 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.0-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|