# Generated by rust2rpm %bcond_with check %global debug_package %{nil} %global crate tokio-threadpool Name: rust-%{crate} Version: 0.1.14 Release: 1%{?dist} Summary: Task scheduler backed by a work-stealing thread pool License: MIT URL: https://crates.io/crates/tokio-threadpool Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(crossbeam-deque/default) >= 0.7.0 with crate(crossbeam-deque/default) < 0.8.0) BuildRequires: (crate(crossbeam-queue/default) >= 0.1.0 with crate(crossbeam-queue/default) < 0.2.0) BuildRequires: (crate(crossbeam-utils/default) >= 0.6.4 with crate(crossbeam-utils/default) < 0.7.0) BuildRequires: (crate(futures/default) >= 0.1.19 with crate(futures/default) < 0.2.0) BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) BuildRequires: (crate(num_cpus/default) >= 1.2.0 with crate(num_cpus/default) < 2.0.0) BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) BuildRequires: (crate(slab/default) >= 0.4.1 with crate(slab/default) < 0.5.0) BuildRequires: (crate(tokio-executor/default) >= 0.1.7 with crate(tokio-executor/default) < 0.2.0) %if %{with check} BuildRequires: (crate(env_logger/default) >= 0.5.0 with crate(env_logger/default) < 0.6.0) BuildRequires: (crate(futures-cpupool/default) >= 0.1.7 with crate(futures-cpupool/default) < 0.2.0) BuildRequires: (crate(threadpool/default) >= 1.7.1 with crate(threadpool/default) < 2.0.0) %endif %global _description \ A task scheduler backed by a work-stealing thread pool. %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 %doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version}/ %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}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Tue Apr 23 15:12:11 CEST 2019 Igor Gnatenko - 0.1.14-1 - Update to 0.1.14 * Sun Mar 24 19:35:46 CET 2019 Igor Gnatenko - 0.1.13-1 - Update to 0.1.13 * Mon Mar 04 2019 Igor Gnatenko - 0.1.12-1 - Update to 0.1.12 * Sun Feb 10 2019 Igor Gnatenko - 0.1.11-3 - Update crossbeam dependencies * Sat Feb 02 2019 Fedora Release Engineering - 0.1.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jan 25 2019 Josh Stone - 0.1.11-1 - Update to 0.1.11 * Tue Jan 08 2019 Josh Stone - 0.1.10-1 - Update to 0.1.10 * Sat Dec 15 2018 Igor Gnatenko - 0.1.9-1 - Update to 0.1.9 * Thu Nov 08 2018 Josh Stone - 0.1.8-2 - Adapt to new packaging * Thu Oct 25 2018 Josh Stone - 0.1.8-1 - Update to 0.1.8 * Fri Sep 28 2018 Josh Stone - 0.1.7-1 - Update to 0.1.7 * Sat Sep 08 2018 Igor Gnatenko - 0.1.6-1 - Update to 0.1.6 * Sat Jul 14 2018 Fedora Release Engineering - 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jul 06 2018 Igor Gnatenko - 0.1.5-1 - Update to 0.1.5 * Sat Jun 16 2018 Igor Gnatenko - 0.1.4-2 - Bump crossbeam-deque to 0.4 * Mon Jun 11 2018 Igor Gnatenko - 0.1.4-1 - Update to 0.1.4 * Thu May 03 2018 Josh Stone - 0.1.3-1 - Update to 0.1.3 * Tue Apr 03 2018 Igor Gnatenko - 0.1.2-1 - Update to 0.1.2 * Fri Mar 23 2018 Josh Stone - 0.1.1-1 - Update to 0.1.1 * Fri Mar 09 2018 Igor Gnatenko - 0.1.0-1 - Initial package