d13e4ec
# Generated by rust2rpm 24
ad7e525
# * tests can only be run in-tree
d5c93d8
%bcond_with check
d5c93d8
%global debug_package %{nil}
d5c93d8
d5c93d8
%global crate futures-util
d5c93d8
e773666
Name:           rust-futures-util
e5a2d0e
Version:        0.3.28
91b647a
Release:        %autorelease
d5c93d8
Summary:        Common utilities and extension traits for the futures-rs library
d5c93d8
e773666
License:        MIT OR Apache-2.0
9488d91
URL:            https://crates.io/crates/futures-util
9488d91
Source:         %{crates_source}
d5c93d8
e773666
BuildRequires:  rust-packaging >= 21
d5c93d8
9488d91
%global _description %{expand:
9488d91
Common utilities and extension traits for the futures-rs library.}
9488d91
9488d91
%description %{_description}
d5c93d8
d5c93d8
%package        devel
d5c93d8
Summary:        %{summary}
d5c93d8
BuildArch:      noarch
d5c93d8
9488d91
%description    devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "%{crate}" crate.
9488d91
9488d91
%files          devel
e773666
%license %{crate_instdir}/LICENSE-APACHE
e773666
%license %{crate_instdir}/LICENSE-MIT
e773666
%doc %{crate_instdir}/README.md
e773666
%{crate_instdir}/
9488d91
9488d91
%package     -n %{name}+default-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+default-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "default" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+default-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+alloc-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+alloc-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "alloc" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+alloc-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+async-await-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+async-await-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "async-await" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+async-await-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+async-await-macro-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+async-await-macro-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "async-await-macro" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+async-await-macro-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+bilock-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+bilock-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "bilock" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+bilock-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9b76daa
%package     -n %{name}+cfg-target-has-atomic-devel
9b76daa
Summary:        %{summary}
9b76daa
BuildArch:      noarch
9b76daa
9b76daa
%description -n %{name}+cfg-target-has-atomic-devel %{_description}
9b76daa
52e127e
This package contains library source intended for building other packages which
52e127e
use the "cfg-target-has-atomic" feature of the "%{crate}" crate.
9b76daa
9b76daa
%files       -n %{name}+cfg-target-has-atomic-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9b76daa
9488d91
%package     -n %{name}+channel-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+channel-devel %{_description}
d5c93d8
52e127e
This package contains library source intended for building other packages which
52e127e
use the "channel" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+channel-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+compat-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+compat-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "compat" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+compat-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+futures-channel-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+futures-channel-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "futures-channel" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+futures-channel-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+futures-io-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+futures-io-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "futures-io" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+futures-io-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+futures-macro-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+futures-macro-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "futures-macro" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+futures-macro-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+futures-sink-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+futures-sink-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "futures-sink" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+futures-sink-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
6fa7f4f
%package     -n %{name}+futures_01-devel
6fa7f4f
Summary:        %{summary}
6fa7f4f
BuildArch:      noarch
6fa7f4f
6fa7f4f
%description -n %{name}+futures_01-devel %{_description}
6fa7f4f
52e127e
This package contains library source intended for building other packages which
52e127e
use the "futures_01" feature of the "%{crate}" crate.
6fa7f4f
6fa7f4f
%files       -n %{name}+futures_01-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
6fa7f4f
9488d91
%package     -n %{name}+io-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+io-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "io" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+io-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+io-compat-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+io-compat-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "io-compat" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+io-compat-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+memchr-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+memchr-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "memchr" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+memchr-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
2db7dfd
%package     -n %{name}+portable-atomic-devel
2db7dfd
Summary:        %{summary}
2db7dfd
BuildArch:      noarch
2db7dfd
2db7dfd
%description -n %{name}+portable-atomic-devel %{_description}
2db7dfd
2db7dfd
This package contains library source intended for building other packages which
2db7dfd
use the "portable-atomic" feature of the "%{crate}" crate.
2db7dfd
2db7dfd
%files       -n %{name}+portable-atomic-devel
2db7dfd
%ghost %{crate_instdir}/Cargo.toml
2db7dfd
9488d91
%package     -n %{name}+sink-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+sink-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "sink" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+sink-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+slab-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+slab-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "slab" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+slab-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+std-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+std-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "std" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+std-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9488d91
%package     -n %{name}+tokio-io-devel
9488d91
Summary:        %{summary}
9488d91
BuildArch:      noarch
9488d91
9488d91
%description -n %{name}+tokio-io-devel %{_description}
9488d91
52e127e
This package contains library source intended for building other packages which
52e127e
use the "tokio-io" feature of the "%{crate}" crate.
9488d91
9488d91
%files       -n %{name}+tokio-io-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9488d91
9b76daa
%package     -n %{name}+unstable-devel
9b76daa
Summary:        %{summary}
9b76daa
BuildArch:      noarch
9b76daa
9b76daa
%description -n %{name}+unstable-devel %{_description}
9b76daa
52e127e
This package contains library source intended for building other packages which
52e127e
use the "unstable" feature of the "%{crate}" crate.
9b76daa
9b76daa
%files       -n %{name}+unstable-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
9b76daa
2e9a7fd
%package     -n %{name}+write-all-vectored-devel
2e9a7fd
Summary:        %{summary}
2e9a7fd
BuildArch:      noarch
2e9a7fd
2e9a7fd
%description -n %{name}+write-all-vectored-devel %{_description}
2e9a7fd
52e127e
This package contains library source intended for building other packages which
52e127e
use the "write-all-vectored" feature of the "%{crate}" crate.
2e9a7fd
2e9a7fd
%files       -n %{name}+write-all-vectored-devel
e773666
%ghost %{crate_instdir}/Cargo.toml
2e9a7fd
d5c93d8
%prep
9488d91
%autosetup -n %{crate}-%{version_no_tilde} -p1
d5c93d8
%cargo_prep
d5c93d8
9488d91
%generate_buildrequires
9488d91
%cargo_generate_buildrequires
9488d91
d5c93d8
%build
d5c93d8
%cargo_build
d5c93d8
d5c93d8
%install
d5c93d8
%cargo_install
d5c93d8
d5c93d8
%if %{with check}
d5c93d8
%check
d5c93d8
%cargo_test
d5c93d8
%endif
d5c93d8
d5c93d8
%changelog
91b647a
%autochangelog