diff --git a/.gitignore b/.gitignore index 96cde7c..5f15ebf 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /portable-atomic-1.6.0.crate /portable-atomic-1.7.0.crate /portable-atomic-1.9.0.crate +/portable-atomic-1.10.0.crate diff --git a/portable-atomic-fix-metadata-auto.diff b/portable-atomic-fix-metadata-auto.diff new file mode 100644 index 0000000..1888e0c --- /dev/null +++ b/portable-atomic-fix-metadata-auto.diff @@ -0,0 +1,21 @@ +--- portable-atomic-1.10.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ portable-atomic-1.10.0/Cargo.toml 2024-11-26T14:44:15.627256+00:00 +@@ -98,13 +98,6 @@ + [target."cfg(unix)".dev-dependencies.libc] + version = "=0.2.163" + +-[target."cfg(windows)".dev-dependencies.windows-sys] +-version = "0.59" +-features = [ +- "Win32_Foundation", +- "Win32_System_Threading", +-] +- + [lints.clippy] + all = "warn" + as_ptr_cast_mut = "warn" +@@ -236,3 +229,4 @@ + "cfg(portable_atomic_no_outline_atomics,portable_atomic_outline_atomics)", + "cfg(portable_atomic_unstable_coerce_unsized)", + ] ++ diff --git a/rust-portable-atomic.spec b/rust-portable-atomic.spec index 110d998..d8de05f 100644 --- a/rust-portable-atomic.spec +++ b/rust-portable-atomic.spec @@ -1,18 +1,20 @@ -# Generated by rust2rpm 26 +# Generated by rust2rpm 27 # * tests can only be run in-tree -%bcond_with check +%bcond check 0 %global debug_package %{nil} %global crate portable-atomic Name: rust-portable-atomic -Version: 1.9.0 +Version: 1.10.0 Release: %autorelease Summary: Portable atomic types including support for 128-bit atomics, atomic float, etc License: Apache-2.0 OR MIT URL: https://crates.io/crates/portable-atomic Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: portable-atomic-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/sources b/sources index 2dd5b13..ecc7de8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (portable-atomic-1.9.0.crate) = 1431a4c092f6a0cb50bcc78488d603c8ba8f4ee697f77fdcfcce7002fcb371f52a321089422c76564fbf3277c48e30f889565747951c60360d95a6917bb6adeb +SHA512 (portable-atomic-1.10.0.crate) = fb47ab53fe240d5b0824dd068c6dda473d3e71ae6f5dfccaa17262a8b6de0e1dde05d83975e53bbfcf43f10ef5c634fc024f94613937927ae93f1adad1dadb19