Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 4d4e43317c
commit 8b4e8923e0
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

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

Loading…
Cancel
Save