diff --git a/rust-serde_urlencoded.spec b/rust-serde_urlencoded.spec index 5d4b5ef..b57621f 100644 --- a/rust-serde_urlencoded.spec +++ b/rust-serde_urlencoded.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate serde_urlencoded Name: rust-%{crate} Version: 0.5.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: `x-www-form-urlencoded` meets Serde # Upstream license specification: MIT/Apache-2.0 @@ -15,18 +15,14 @@ URL: https://crates.io/crates/serde_urlencoded 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(itoa/default) >= 0.4.0 with crate(itoa/default) < 0.5.0) -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0) -%if %{with check} -BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0) -%endif -%global _description \ -`x-www-form-urlencoded` meets Serde. +%global _description %{expand: +`x-www-form-urlencoded` meets Serde.} %description %{_description} @@ -61,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 @@ -73,6 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 09:28:04 CEST 2019 Igor Gnatenko - 0.5.5-2 +- Regenerate + * Tue Apr 16 2019 Josh Stone - 0.5.5-1 - Update to 0.5.5