diff --git a/rust-num_cpus.spec b/rust-num_cpus.spec index 82320b7..c322275 100644 --- a/rust-num_cpus.spec +++ b/rust-num_cpus.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate num_cpus Name: rust-%{crate} Version: 1.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Get the number of CPUs on a machine # Upstream license specification: MIT/Apache-2.0 @@ -16,12 +15,17 @@ URL: https://crates.io/crates/num_cpus Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(libc/default) >= 0.2.26 with crate(libc/default) < 0.3.0) +%endif -%global _description \ -Get the number of CPUs on a machine. +%global _description %{expand: +Get the number of CPUs on a machine.} %description %{_description} @@ -67,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 10:18:07 CEST 2019 Igor Gnatenko - 1.10.0-2 +- Regenerate + * Mon Feb 11 2019 Josh Stone - 1.10.0-1 - Update to 1.10.0