diff --git a/rust-http-body.spec b/rust-http-body.spec index 6c39ae0..c953ec8 100644 --- a/rust-http-body.spec +++ b/rust-http-body.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 9 -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate http-body Name: rust-%{crate} Version: 0.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Trait representing an asynchronous, streaming, HTTP request or response body # Upstream license specification: MIT @@ -15,12 +15,11 @@ URL: https://crates.io/crates/http-body Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(bytes/default) >= 0.4.11 with crate(bytes/default) < 0.5.0) -BuildRequires: (crate(futures/default) >= 0.1.25 with crate(futures/default) < 0.2.0) -BuildRequires: (crate(http/default) >= 0.1.16 with crate(http/default) < 0.2.0) -BuildRequires: (crate(tokio-buf) >= 0.1.0 with crate(tokio-buf) < 0.2.0) %global _description %{expand: Trait representing an asynchronous, streaming, HTTP request or response body.} @@ -57,6 +56,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 @@ -69,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 19:49:52 CEST 2019 Igor Gnatenko - 0.1.0-3 +- Regenerate + * Sat Jun 08 2019 Igor Gnatenko - 0.1.0-2 - Run tests in infrastructure