|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate futures
|
|
|
|
%global crate futures
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-futures
|
|
|
|
Name: rust-futures
|
|
|
|
Version: 0.3.24
|
|
|
|
Version: 0.3.25
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Implementation of futures and streams
|
|
|
|
Summary: Implementation of futures and streams
|
|
|
|
|
|
|
|
|
|
|
@ -16,8 +16,6 @@ Source: %{crates_source}
|
|
|
|
# * add missing futures-test dev-dependency
|
|
|
|
# * add missing futures-test dev-dependency
|
|
|
|
Patch: futures-fix-metadata.diff
|
|
|
|
Patch: futures-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
@ -200,6 +198,9 @@ use the "write-all-vectored" feature of the "%{crate}" crate.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
# * remove a test that doesn't compile with Rust < 1.63:
|
|
|
|
|
|
|
|
# "use of unstable library feature 'future_poll_fn'"
|
|
|
|
|
|
|
|
rm tests/future_join.rs
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires -a
|
|
|
|
%cargo_generate_buildrequires -a
|
|
|
@ -215,7 +216,9 @@ use the "write-all-vectored" feature of the "%{crate}" crate.
|
|
|
|
# * always skip a test that is officially "flaky"
|
|
|
|
# * always skip a test that is officially "flaky"
|
|
|
|
# * skip a possibly flaky test:
|
|
|
|
# * skip a possibly flaky test:
|
|
|
|
# https://github.com/rust-lang/futures-rs/issues/2539
|
|
|
|
# https://github.com/rust-lang/futures-rs/issues/2539
|
|
|
|
%cargo_test -a -- -- --skip stream_select --skip many_threads
|
|
|
|
# * skip a test which fails depending on Rust version:
|
|
|
|
|
|
|
|
# sizes of some structs and enums changed between Rust 1.62 and 1.63
|
|
|
|
|
|
|
|
%cargo_test -a -- -- --skip stream_select --skip many_threads --skip join_size
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|