From 9ad52370fff76dee5576f7da54ba9853d147bf8e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Jul 05 2023 19:42:59 +0000 Subject: Update to version 1.16.0; Fixes RHBZ#2218589 --- diff --git a/.gitignore b/.gitignore index f446082..81c65a3 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /num_cpus-1.13.1.crate /num_cpus-1.14.0.crate /num_cpus-1.15.0.crate +/num_cpus-1.16.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 3dfe6c8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-num_cpus - -The rust-num_cpus package \ No newline at end of file diff --git a/num_cpus-fix-metadata-auto.diff b/num_cpus-fix-metadata-auto.diff index c71bd7c..62d7d5a 100644 --- a/num_cpus-fix-metadata-auto.diff +++ b/num_cpus-fix-metadata-auto.diff @@ -1,11 +1,8 @@ ---- num_cpus-1.15.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ num_cpus-1.15.0/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -25,8 +25,5 @@ - license = "MIT OR Apache-2.0" - repository = "https://github.com/seanmonstar/num_cpus" - --[target."cfg(all(any(target_arch = \"x86_64\", target_arch = \"aarch64\"), target_os = \"hermit\"))".dependencies.hermit-abi] --version = "0.2.6" -- +--- num_cpus-1.16.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ num_cpus-1.16.0/Cargo.toml 2023-07-05T19:42:07.934520+00:00 +@@ -28,5 +28,3 @@ [target."cfg(not(windows))".dependencies.libc] version = "0.2.26" + +-[target."cfg(target_os = \"hermit\")".dependencies.hermit-abi] +-version = "0.3.0" diff --git a/rust-num_cpus.spec b/rust-num_cpus.spec index f450e8b..2acff8e 100644 --- a/rust-num_cpus.spec +++ b/rust-num_cpus.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate num_cpus Name: rust-num_cpus -Version: 1.15.0 +Version: 1.16.0 Release: %autorelease Summary: Get the number of CPUs on a machine diff --git a/sources b/sources index 3f40236..5f0b387 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num_cpus-1.15.0.crate) = fd4772868def9460a6ee17ef6fc00b0bc74115eec891bb3fdb07ba5b5fe4057a2ac69eb31ba8beddbd3189c7be4545888e5724879f3a89132fbc9b32aa7bb10f +SHA512 (num_cpus-1.16.0.crate) = a75863afc4a563e63c64d06471c7921615355d98011ea9497b1f1a7dac2bdfc876509136018e8062ac38575ccf476a196d1fd9231e09e90017333bbf2df4615d