Update to version 1.14.0; Fixes RHBZ#2139900

epel9
Fabio Valentini 2 years ago
parent 3875e405a6
commit 4ee3a5f164
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -7,3 +7,4 @@
/num_cpus-1.12.0.crate /num_cpus-1.12.0.crate
/num_cpus-1.13.0.crate /num_cpus-1.13.0.crate
/num_cpus-1.13.1.crate /num_cpus-1.13.1.crate
/num_cpus-1.14.0.crate

@ -1,10 +1,11 @@
--- num_cpus-1.13.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- num_cpus-1.14.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ num_cpus-1.13.1/Cargo.toml 2021-12-20T20:31:04.071929+00:00 +++ num_cpus-1.14.0/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -20,7 +20,5 @@ @@ -25,8 +25,5 @@
categories = ["hardware-support"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/seanmonstar/num_cpus" repository = "https://github.com/seanmonstar/num_cpus"
-[target."cfg(all(any(target_arch = \"x86_64\", target_arch = \"aarch64\"), target_os = \"hermit\"))".dependencies.hermit-abi] -[target."cfg(all(any(target_arch = \"x86_64\", target_arch = \"aarch64\"), target_os = \"hermit\"))".dependencies.hermit-abi]
-version = "0.1.3" -version = "0.1.3"
-
[target."cfg(not(windows))".dependencies.libc] [target."cfg(not(windows))".dependencies.libc]
version = "0.2.26" version = "0.2.26"

@ -1,25 +1,21 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate num_cpus %global crate num_cpus
Name: rust-%{crate} Name: rust-num_cpus
Version: 1.13.1 Version: 1.14.0
Release: %autorelease Release: %autorelease
Summary: Get the number of CPUs on a machine Summary: Get the number of CPUs on a machine
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/num_cpus URL: https://crates.io/crates/num_cpus
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * drop non-linux-specific dependencies Patch: num_cpus-fix-metadata-auto.diff
Patch0: num_cpus-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Get the number of CPUs on a machine.} Get the number of CPUs on a machine.}
@ -36,9 +32,12 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc CHANGELOG.md CONTRIBUTING.md README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -50,7 +49,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (num_cpus-1.13.1.crate) = 91ffe0ec792228621d6c2d5cc544ef4744203d19fc9c86e0aad2610038c43aca0448b6c27d82979417a0f6c939ea73523303a44c28df0d1c1b8d09814d5306d9 SHA512 (num_cpus-1.14.0.crate) = c3b19f7cad14947c9860ed81617e2f7492f69248c8436ce83429cae9fe09d7be04c813233b54ca216e7dc2e03b76f46c5659154f89bb804e702f23b78feb3507

Loading…
Cancel
Save