|
|
@ -1,11 +1,12 @@
|
|
|
|
# Generated by rust2rpm 17
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
%bcond_without check
|
|
|
|
# * tests depend on nightly-only features of futures-util
|
|
|
|
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate futures
|
|
|
|
%global crate futures
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.15
|
|
|
|
Version: 0.3.16
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Implementation of futures and streams
|
|
|
|
Summary: Implementation of futures and streams
|
|
|
|
|
|
|
|
|
|
|
@ -216,23 +217,17 @@ which use "write-all-vectored" feature of "%{crate}" crate.
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires -a
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build -a
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cargo_install -a
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%ifarch %{arm} %{ix86}
|
|
|
|
%cargo_test
|
|
|
|
# ignore two test failures caused by hardcoded result expecting 64-bit pointers
|
|
|
|
|
|
|
|
# https://github.com/rust-lang/futures-rs/issues/2446
|
|
|
|
|
|
|
|
%cargo_test -a -- -- --skip select_size --skip select_on_non_unpin_size
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%cargo_test -a
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|