You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-futures-executor/rust-futures-executor.spec

146 lines
3.9 KiB

# Generated by rust2rpm 16
# dependency loop with futures
%bcond_with check
%global debug_package %{nil}
%global crate futures-executor
Name: rust-%{crate}
Version: 0.3.12
Release: 1%{?dist}
Summary: Executors for asynchronous tasks based on the futures-rs library
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/futures-executor
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Executors for asynchronous tasks based on the futures-rs library.}
%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-MIT LICENSE-APACHE
%{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}+num_cpus-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+num_cpus-devel %{_description}
This package contains library source intended for building other packages
which use "num_cpus" feature of "%{crate}" crate.
%files -n %{name}+num_cpus-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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* 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.
* Tue Nov 10 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.8-1
- Update to version 0.3.8.
- Fixes RHBZ#1896106
* 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:57:45 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-1
- Initial package