diff --git a/.gitignore b/.gitignore index 3203d66..33689ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /criterion-plot-0.3.0.crate /criterion-plot-0.3.1.crate +/criterion-plot-0.4.0.crate diff --git a/rust-criterion-plot.spec b/rust-criterion-plot.spec index 74e1ff0..34723fb 100644 --- a/rust-criterion-plot.spec +++ b/rust-criterion-plot.spec @@ -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 - 0.4.0-1 +- Update to 0.4.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 72d406d..7524664 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (criterion-plot-0.3.1.crate) = 52b95d4e8c9909324547b00eb4ae98c274ce22a8494730f117c5530f3cfadd600aa22484730489c5e5202dc248ef40502a9768f172d5303919e430bcc0625b5c +SHA512 (criterion-plot-0.4.0.crate) = 06e46dd31ebdd83621bab4b108892b366566ca6819db4a7832cb24fe5bb2155ce086ec97f282a6fb5aa1e1103de2c2d8a42a69b71af20cd62f49e51994c21864