diff --git a/rust-csv.spec b/rust-csv.spec index 8410269..5a908fd 100644 --- a/rust-csv.spec +++ b/rust-csv.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm-9-1.fc31 -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate csv Name: rust-%{crate} Version: 1.0.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Fast CSV parsing with support for serde # Upstream license specification: Unlicense/MIT @@ -20,8 +20,12 @@ Patch0: csv-fix-metadata.diff Patch0001: 0001-chore-Update-serde_bytes-to-0.11.patch ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(csv-core/default) >= 0.1.4 with crate(csv-core/default) < 0.2.0) BuildRequires: (crate(itoa/default) >= 0.4.3 with crate(itoa/default) < 0.5.0) BuildRequires: (crate(ryu/default) >= 0.2.7 with crate(ryu/default) < 0.3.0) @@ -30,9 +34,10 @@ BuildRequires: (crate(serde/default) >= 1.0.55 with crate(serde/default) < 2.0. BuildRequires: (crate(serde_bytes/default) >= 0.11.0 with crate(serde_bytes/default) < 0.12.0) BuildRequires: (crate(serde_derive/default) >= 1.0.55 with crate(serde_derive/default) < 2.0.0) %endif +%endif -%global _description \ -Fast CSV parsing with support for serde. +%global _description %{expand: +Fast CSV parsing with support for serde.} %description %{_description} @@ -78,6 +83,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 15:12:40 CEST 2019 Igor Gnatenko - 1.0.7-3 +- Regenerate + * Sun May 12 08:37:15 CEST 2019 Igor Gnatenko - 1.0.7-2 - Update serde_bytes to 0.11