From 50b5f065dd668c8641a7ce16322f34d84ff81a4d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 24 May 2022 23:01:36 +0200 Subject: [PATCH] Update to version 0.9.3; Fixes RHBZ#2070223 --- .gitignore | 1 + parking_lot_core-fix-metadata.diff | 21 ++++++++++++++------- rust-parking_lot_core.spec | 6 +++--- sources | 2 +- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index b715afe..3c7e204 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /parking_lot_core-0.8.3.crate /parking_lot_core-0.8.5.crate /parking_lot_core-0.9.1.crate +/parking_lot_core-0.9.3.crate diff --git a/parking_lot_core-fix-metadata.diff b/parking_lot_core-fix-metadata.diff index 3fb0933..c9b5d9e 100644 --- a/parking_lot_core-fix-metadata.diff +++ b/parking_lot_core-fix-metadata.diff @@ -1,13 +1,20 @@ ---- parking_lot_core-0.9.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ parking_lot_core-0.9.1/Cargo.toml 2022-03-03T11:19:02.608679+00:00 -@@ -40,10 +40,5 @@ - [features] - deadlock_detection = ["petgraph", "thread-id", "backtrace"] +--- parking_lot_core-0.9.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ parking_lot_core-0.9.3/Cargo.toml 2022-05-24T14:17:50.607577+00:00 +@@ -52,17 +52,5 @@ + ] nightly = [] + -[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] -version = "0.2.8" +- [target."cfg(unix)".dependencies.libc] version = "0.2.95" +- -[target."cfg(windows)".dependencies.windows-sys] --version = "0.32" --features = ["Win32_Foundation", "Win32_System_LibraryLoader", "Win32_System_SystemServices", "Win32_System_WindowsProgramming"] +-version = "0.36.0" +-features = [ +- "Win32_Foundation", +- "Win32_System_LibraryLoader", +- "Win32_System_SystemServices", +- "Win32_System_WindowsProgramming", +-] diff --git a/rust-parking_lot_core.spec b/rust-parking_lot_core.spec index 3108091..f059205 100644 --- a/rust-parking_lot_core.spec +++ b/rust-parking_lot_core.spec @@ -5,12 +5,12 @@ %global crate parking_lot_core Name: rust-%{crate} -Version: 0.9.1 +Version: 0.9.3 Release: %autorelease Summary: Advanced API for creating custom synchronization primitives -# Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 URL: https://crates.io/crates/parking_lot_core Source: %{crates_source} # Initial patched metadata diff --git a/sources b/sources index b932192..d0ba7eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (parking_lot_core-0.9.1.crate) = c084dc175c3d91ab19b897d0bafb736a9c2ae89242ac4e2ed87e6f73ae61862c641fa29fe6beec27602686f36a52bf5eff7a3c2138a4a8edbcaf1338e62d4df2 +SHA512 (parking_lot_core-0.9.3.crate) = fa30db0fc73b268ab8395adb8bda35d12dc15363b247a95b7c4bb848ff9b8dbfb971a20f320b4feff3317d5b533c59b62152e4c652c1809a422c5671310b30df