|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate criterion-plot
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.3.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.4.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Criterion's plotting library
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -15,19 +15,14 @@ URL: https://crates.io/crates/criterion-plot
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(byteorder/default) >= 1.0.0 with crate(byteorder/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(cast/default) >= 0.2.0 with crate(cast/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(itertools/default) >= 0.8.0 with crate(itertools/default) < 0.9.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(itertools-num/default) >= 0.1.0 with crate(itertools-num/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(num-complex/std) >= 0.2.0 with crate(num-complex/std) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Criterion's plotting library.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Criterion's plotting library.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -64,6 +59,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
# Remove extraneous executable bits
|
|
|
|
|
find . -type f -executable -exec chmod 0644 "{}" +;
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -76,6 +74,9 @@ find . -type f -executable -exec chmod 0644 "{}" +;
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Sep 14 18:38:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-1
|
|
|
|
|
- Update to 0.4.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|