diff --git a/.gitignore b/.gitignore index d56e3d3..f58b43a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /parking_lot_core-0.8.5.crate +/parking_lot_core-0.8.6.crate diff --git a/parking_lot_core-fix-metadata.diff b/parking_lot_core-fix-metadata.diff index 0a7aaa9..9a93a5a 100644 --- a/parking_lot_core-fix-metadata.diff +++ b/parking_lot_core-fix-metadata.diff @@ -1,13 +1,23 @@ ---- parking_lot_core-0.8.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ parking_lot_core-0.8.5/Cargo.toml 2022-03-03T11:29:03.659007+00:00 -@@ -43,10 +43,5 @@ - [features] - deadlock_detection = ["petgraph", "thread-id", "backtrace"] +--- parking_lot_core-0.8.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ parking_lot_core-0.8.6/Cargo.toml 2022-12-13T01:12:52.290025+00:00 +@@ -55,20 +55,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.winapi] -version = "0.3.9" --features = ["winnt", "ntstatus", "minwindef", "winerror", "winbase", "errhandlingapi", "handleapi"] +-features = [ +- "winnt", +- "ntstatus", +- "minwindef", +- "winerror", +- "winbase", +- "errhandlingapi", +- "handleapi", +-] diff --git a/rust-parking_lot_core0.8.spec b/rust-parking_lot_core0.8.spec index a219521..02bc7e0 100644 --- a/rust-parking_lot_core0.8.spec +++ b/rust-parking_lot_core0.8.spec @@ -1,23 +1,21 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate parking_lot_core -Name: rust-%{crate}0.8 -Version: 0.8.5 +Name: rust-parking_lot_core0.8 +Version: 0.8.6 Release: %autorelease Summary: Advanced API for creating custom synchronization primitives # Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/parking_lot_core Source: %{crates_source} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop Windows- and Redox OS-specific dependencies -Patch0: parking_lot_core-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +Patch: parking_lot_core-fix-metadata.diff BuildRequires: rust-packaging >= 21 diff --git a/sources b/sources index 1c067ad..0c9abad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (parking_lot_core-0.8.5.crate) = c4315df551748d1ae77655e4d9f8c90f911498856e5358009e9e02e410bb8085f006f369188b0753a298371ebd74a5c383d848b65e31b55f3462381308c83a00 +SHA512 (parking_lot_core-0.8.6.crate) = 906241f8e2d71784d572fb78978c9550b19af9c4e32fe3b2da751287806d0faeba61f5bd36f7aab026970b2bffaaa1f62ddc10c64dc348eae61bf7b51297ef80