From e41f5dd6df00f4e96db84ad0ad8f8516efd6db9a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 28 Nov 2024 18:46:12 +0100 Subject: [PATCH] Update to version 0.3.10; Fixes RHBZ#2329366 --- .gitignore | 1 + errno-fix-metadata-auto.diff | 12 ++++++------ rust-errno.spec | 6 +++--- sources | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index c362d30..e308e13 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /errno-0.3.7.crate /errno-0.3.8.crate /errno-0.3.9.crate +/errno-0.3.10.crate diff --git a/errno-fix-metadata-auto.diff b/errno-fix-metadata-auto.diff index afd2197..f6cf889 100644 --- a/errno-fix-metadata-auto.diff +++ b/errno-fix-metadata-auto.diff @@ -1,14 +1,14 @@ ---- errno-0.3.9/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ errno-0.3.9/Cargo.toml 2024-10-23T14:18:55.484224+00:00 -@@ -29,21 +29,7 @@ +--- errno-0.3.10/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ errno-0.3.10/Cargo.toml 2024-11-28T17:44:39.745018+00:00 +@@ -39,21 +39,7 @@ default = ["std"] std = ["libc/std"] --[target."cfg(target_os=\"hermit\")".dependencies.libc] +-[target.'cfg(target_os="hermit")'.dependencies.libc] -version = "0.2" -default-features = false - --[target."cfg(target_os=\"wasi\")".dependencies.libc] +-[target.'cfg(target_os="wasi")'.dependencies.libc] -version = "0.2" -default-features = false - @@ -17,7 +17,7 @@ default-features = false -[target."cfg(windows)".dependencies.windows-sys] --version = "0.52" +-version = ">=0.52, <=0.59" -features = [ - "Win32_Foundation", - "Win32_System_Diagnostics_Debug", diff --git a/rust-errno.spec b/rust-errno.spec index 703167b..5f82afe 100644 --- a/rust-errno.spec +++ b/rust-errno.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 26 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate errno Name: rust-errno -Version: 0.3.9 +Version: 0.3.10 Release: %autorelease Summary: Cross-platform interface to the errno variable diff --git a/sources b/sources index 4078098..2e1bc9e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (errno-0.3.9.crate) = 777fbac5730d420d58275ef63b7579997d8e6c72106d483ee1e3b1f1ce3977f1f66c56870a05acaa4cfacacb820eaf963e9c763748759cff3668fa2e6f89f04a +SHA512 (errno-0.3.10.crate) = fa4b9a368f254cd90c6f69f6883af4c579829a6da6f31481a1b527ac9602c8ffcb5e9518cdc32c39b5589c151a20e75a7300c8a907d178346185ecc6e8749f3f