|
|
|
# Generated by rust2rpm 17
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
%global crate futures
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.15
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Implementation of futures and streams
|
|
|
|
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/futures
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# * add missing futures-test dev-dependency
|
|
|
|
Patch0: futures-fix-metadata.diff
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
Implementation of futures and streams featuring zero allocations,
|
|
|
|
composability, and iterator-like interfaces.}
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+alloc-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "alloc" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+alloc-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+async-await-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+async-await-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "async-await" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+async-await-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+bilock-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+bilock-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "bilock" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+bilock-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+cfg-target-has-atomic-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+cfg-target-has-atomic-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "cfg-target-has-atomic" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+cfg-target-has-atomic-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+compat-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+compat-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "compat" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+compat-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+executor-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+executor-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "executor" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+executor-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+futures-executor-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+futures-executor-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "futures-executor" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+futures-executor-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+io-compat-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+io-compat-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "io-compat" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+io-compat-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+read-initializer-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+read-initializer-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "read-initializer" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+read-initializer-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "std" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+thread-pool-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+thread-pool-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "thread-pool" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+thread-pool-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+unstable-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+unstable-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "unstable" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+unstable-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+write-all-vectored-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+write-all-vectored-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "write-all-vectored" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+write-all-vectored-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires -a
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cargo_build -a
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cargo_install -a
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%ifarch %{arm} %{ix86}
|
|
|
|
# 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
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.15-3
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu May 27 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.15-2
|
|
|
|
- Temporarily ignore two tests on 32-bit architectures.
|
|
|
|
|
|
|
|
* Thu May 27 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.15-1
|
|
|
|
- Update to version 0.3.15.
|
|
|
|
|
|
|
|
* Thu Apr 22 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.14-1
|
|
|
|
- Update to version 0.3.14.
|
|
|
|
|
|
|
|
* Tue Feb 23 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.13-1
|
|
|
|
- Update to version 0.3.13.
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.12-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 15 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.12-1
|
|
|
|
- Update to version 0.3.12.
|
|
|
|
|
|
|
|
* Wed Jan 13 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.10-1
|
|
|
|
- Update to version 0.3.10.
|
|
|
|
|
|
|
|
* Fri Jan 08 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.9-1
|
|
|
|
- Update to version 0.3.9.
|
|
|
|
|
|
|
|
* Mon Nov 09 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.8-1
|
|
|
|
- Update to version 0.3.8.
|
|
|
|
- Fixes RHBZ#1896105
|
|
|
|
|
|
|
|
* Mon Oct 26 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.7-1
|
|
|
|
- Update to version 0.3.7.
|
|
|
|
|
|
|
|
* Wed Oct 07 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.6-1
|
|
|
|
- Update to version 0.3.6.
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat May 09 2020 Josh Stone <jistone@redhat.com> - 0.3.5-1
|
|
|
|
- Update to 0.3.5
|
|
|
|
|
|
|
|
* Mon Feb 10 2020 Josh Stone <jistone@redhat.com> - 0.3.4-1
|
|
|
|
- Update to 0.3.4
|
|
|
|
|
|
|
|
* Thu Feb 06 2020 Josh Stone <jistone@redhat.com> - 0.3.3-1
|
|
|
|
- Update to 0.3.3
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Dec 14 09:51:49 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-1
|
|
|
|
- Initial package
|