From 6e7fed2b8e21ef42136a2aa5ce181a3c2175181b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 18 Oct 2023 11:54:43 +0200 Subject: [PATCH] Update to version 0.9.9; Fixes RHBZ#2244733 --- .gitignore | 1 + parking_lot_core-fix-metadata-auto.diff | 8 ++++---- rust-parking_lot_core.spec | 10 +++++----- sources | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 6fef50a..bcd4715 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /parking_lot_core-0.9.6.crate /parking_lot_core-0.9.7.crate /parking_lot_core-0.9.8.crate +/parking_lot_core-0.9.9.crate diff --git a/parking_lot_core-fix-metadata-auto.diff b/parking_lot_core-fix-metadata-auto.diff index 454d606..d1ef5df 100644 --- a/parking_lot_core-fix-metadata-auto.diff +++ b/parking_lot_core-fix-metadata-auto.diff @@ -1,11 +1,11 @@ ---- parking_lot_core-0.9.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ parking_lot_core-0.9.8/Cargo.toml 2023-06-07T16:10:06.546661+00:00 -@@ -52,11 +52,6 @@ +--- parking_lot_core-0.9.9/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ parking_lot_core-0.9.9/Cargo.toml 2023-10-18T09:52:14.490446+00:00 +@@ -56,11 +56,6 @@ ] nightly = [] -[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] --version = "0.3" +-version = "0.4" - [target."cfg(unix)".dependencies.libc] version = "0.2.95" diff --git a/rust-parking_lot_core.spec b/rust-parking_lot_core.spec index 6b9c8da..c3e01d2 100644 --- a/rust-parking_lot_core.spec +++ b/rust-parking_lot_core.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate parking_lot_core Name: rust-parking_lot_core -Version: 0.9.8 +Version: 0.9.9 Release: %autorelease Summary: Advanced API for creating custom synchronization primitives License: MIT OR Apache-2.0 URL: https://crates.io/crates/parking_lot_core Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: parking_lot_core-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An advanced API for creating custom synchronization primitives.} @@ -109,7 +109,7 @@ use the "thread-id" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index b840fe5..d21d770 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (parking_lot_core-0.9.8.crate) = 8d6dfdf661b0f7d0774cb9f61121f2daefd182ac8a2a0d24eab451febfbe1a664c815c163d34a7f3d15a54915a8e22e6c6cd10e89cb7d7598d48d81ad6a3c256 +SHA512 (parking_lot_core-0.9.9.crate) = 7f0df70f9f1ca8d3da0b9dcc96e49daf05d95c3a995289266b5333f68818d686d32b0c733dfe3a0f62da78fa45caa843a963923b2d0c80899c33413dc749c032