diff --git a/rust-threadpool.spec b/rust-threadpool.spec index c0718ac..5ad52c4 100644 --- a/rust-threadpool.spec +++ b/rust-threadpool.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate threadpool Name: rust-%{crate} Version: 1.7.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Thread pool for running a number of jobs on a fixed set of worker threads # Upstream license specification: MIT/Apache-2.0 @@ -15,12 +15,14 @@ URL: https://crates.io/crates/threadpool Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(num_cpus/default) >= 1.6.0 with crate(num_cpus/default) < 2.0.0) -%global _description \ -A thread pool for running a number of jobs on a fixed set of worker threads. +%global _description %{expand: +Thread pool for running a number of jobs on a fixed set of worker threads.} %description %{_description} @@ -55,6 +57,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -67,6 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 23:42:10 CEST 2019 Igor Gnatenko - 1.7.1-7 +- Regenerate + * Sat Mar 09 2019 Igor Gnatenko - 1.7.1-6 - Adapt to new packaging