diff --git a/rust-tokio-io.spec b/rust-tokio-io.spec index e9acfc9..e49d952 100644 --- a/rust-tokio-io.spec +++ b/rust-tokio-io.spec @@ -1,31 +1,28 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate tokio-io Name: rust-%{crate} Version: 0.1.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Core I/O primitives for asynchronous I/O in Rust +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/tokio-io Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(bytes/default) >= 0.4.7 with crate(bytes/default) < 0.5.0) -BuildRequires: (crate(futures/default) >= 0.1.18 with crate(futures/default) < 0.2.0) -BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) -%if %{with check} -BuildRequires: (crate(tokio-current-thread/default) >= 0.1.1 with crate(tokio-current-thread/default) < 0.2.0) -%endif -%global _description \ -Core I/O primitives for asynchronous I/O in Rust. +%global _description %{expand: +Core I/O primitives for asynchronous I/O in Rust.} %description %{_description} @@ -59,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 @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 19:51:19 CEST 2019 Igor Gnatenko - 0.1.12-2 +- Regenerate + * Mon Mar 04 2019 Igor Gnatenko - 0.1.12-1 - Update to 0.1.12