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