diff --git a/rust-serde_yaml.spec b/rust-serde_yaml.spec index 89da730..98de78a 100644 --- a/rust-serde_yaml.spec +++ b/rust-serde_yaml.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate serde_yaml Name: rust-%{crate} Version: 0.8.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: YAML support for Serde # Upstream license specification: MIT/Apache-2.0 @@ -16,20 +15,14 @@ URL: https://crates.io/crates/serde_yaml Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(dtoa/default) >= 0.4.0 with crate(dtoa/default) < 0.5.0) -BuildRequires: (crate(linked-hash-map/default) >= 0.5.0 with crate(linked-hash-map/default) < 0.6.0) -BuildRequires: (crate(serde/default) >= 1.0.60 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(yaml-rust/default) >= 0.4.0 with crate(yaml-rust/default) < 0.5.0) -%if %{with check} -BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0) -BuildRequires: (crate(unindent/default) >= 0.1.0 with crate(unindent/default) < 0.2.0) -BuildRequires: (crate(version-sync/default) >= 0.5.0 with crate(version-sync/default) < 0.6.0) -%endif -%global _description \ -YAML support for Serde. +%global _description %{expand: +YAML support for Serde.} %description %{_description} @@ -64,6 +57,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 @@ -76,6 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 20 09:19:22 CEST 2019 Igor Gnatenko - 0.8.9-2 +- Regenerate + * Thu May 02 2019 Josh Stone - 0.8.9-1 - Update to 0.8.9