diff --git a/.gitignore b/.gitignore index 6be843e..dba7b88 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /async-lock-2.8.0.crate /async-lock-3.2.0.crate /async-lock-3.3.0.crate +/async-lock-3.4.0.crate diff --git a/async-lock-fix-metadata-auto.diff b/async-lock-fix-metadata-auto.diff index 307c0ae..f6f5ad1 100644 --- a/async-lock-fix-metadata-auto.diff +++ b/async-lock-fix-metadata-auto.diff @@ -1,8 +1,24 @@ ---- async-lock-3.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ async-lock-3.3.0/Cargo.toml 2024-01-30T15:11:54.637712+00:00 -@@ -62,5 +62,3 @@ +--- async-lock-3.4.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-lock-3.4.0/Cargo.toml 2024-06-05T20:27:15.775299+00:00 +@@ -59,20 +59,13 @@ + default = ["std"] + loom = [ + "event-listener/loom", +- "dep:loom", + ] + std = [ + "event-listener/std", "event-listener-strategy/std", ] +-[target."cfg(loom)".dependencies.loom] +-version = "0.7" +-optional = true +- -[target."cfg(target_family = \"wasm\")".dev-dependencies.wasm-bindgen-test] -version = "0.3" +- + [lints.rust.unexpected_cfgs] + level = "warn" + priority = 0 ++ diff --git a/async-lock-fix-metadata.diff b/async-lock-fix-metadata.diff new file mode 100644 index 0000000..18a62cc --- /dev/null +++ b/async-lock-fix-metadata.diff @@ -0,0 +1,12 @@ +--- async-lock-3.4.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-lock-3.4.0/Cargo.toml 2024-06-05T20:27:19.769318+00:00 +@@ -57,9 +57,6 @@ + + [features] + default = ["std"] +-loom = [ +- "event-listener/loom", +-] + std = [ + "event-listener/std", + "event-listener-strategy/std", diff --git a/rust-async-lock.spec b/rust-async-lock.spec index e77ba5f..04eb6e5 100644 --- a/rust-async-lock.spec +++ b/rust-async-lock.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate async-lock Name: rust-async-lock -Version: 3.3.0 +Version: 3.4.0 Release: %autorelease Summary: Async synchronization primitives @@ -14,6 +14,9 @@ URL: https://crates.io/crates/async-lock Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: async-lock-fix-metadata-auto.diff +# Manually created patch for downstream crate metadata changes +# * drop feature for unsupported loom permutation testing framework +Patch: async-lock-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..321f92a --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +cargo-toml-patch-comments = [ + "drop feature for unsupported loom permutation testing framework", +] + diff --git a/sources b/sources index dae059b..1c3ad19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-lock-3.3.0.crate) = 0f9e0940e610744fa97c6d2ece9220a2ad91f09155eda66703c2aaf4959f85c17f2cb55ef5fdf29013d4dcd84f8cdb6b16e8692ec7724744b57bf11a86f22f5c +SHA512 (async-lock-3.4.0.crate) = 83731067a3302d3266848b0f65ea6564dad60188472c80e78a7d4cd93804f830332aa01b404b60a8f91cc1c6c7170020ebdfe4b5bae14fef6d3bddcc5f1ed9a5