diff --git a/.gitignore b/.gitignore index 5baaf78..120b248 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /event-listener-strategy-0.4.0.crate /event-listener-strategy-0.5.0.crate /event-listener-strategy-0.5.2.crate +/event-listener-strategy-0.5.3.crate diff --git a/event-listener-strategy-fix-metadata-auto.diff b/event-listener-strategy-fix-metadata-auto.diff index adad6c0..d929314 100644 --- a/event-listener-strategy-fix-metadata-auto.diff +++ b/event-listener-strategy-fix-metadata-auto.diff @@ -1,8 +1,14 @@ ---- event-listener-strategy-0.5.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ event-listener-strategy-0.5.2/Cargo.toml 2024-05-08T18:14:29.083100+00:00 -@@ -53,5 +53,3 @@ - default = ["std"] +--- event-listener-strategy-0.5.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ event-listener-strategy-0.5.3/Cargo.toml 2024-12-01T20:22:36.947505+00:00 +@@ -67,10 +67,8 @@ + loom = ["event-listener/loom"] std = ["event-listener/std"] --[target."cfg(target_family = \"wasm\")".dev-dependencies.wasm-bindgen-test] +-[target.'cfg(target_family = "wasm")'.dev-dependencies.wasm-bindgen-test] -version = "0.3.37" +- + [lints.rust.unexpected_cfgs] + level = "warn" + priority = 0 + check-cfg = ["cfg(wasm_bindgen_unstable_test_coverage)"] ++ diff --git a/event-listener-strategy-fix-metadata.diff b/event-listener-strategy-fix-metadata.diff new file mode 100644 index 0000000..3011921 --- /dev/null +++ b/event-listener-strategy-fix-metadata.diff @@ -0,0 +1,10 @@ +--- event-listener-strategy-0.5.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ event-listener-strategy-0.5.3/Cargo.toml 2024-12-01T20:22:40.167522+00:00 +@@ -64,7 +64,6 @@ + + [features] + default = ["std"] +-loom = ["event-listener/loom"] + std = ["event-listener/std"] + + [lints.rust.unexpected_cfgs] diff --git a/rust-event-listener-strategy.spec b/rust-event-listener-strategy.spec index 9e9c4e4..e81ef6a 100644 --- a/rust-event-listener-strategy.spec +++ b/rust-event-listener-strategy.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 26 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate event-listener-strategy Name: rust-event-listener-strategy -Version: 0.5.2 +Version: 0.5.3 Release: %autorelease Summary: Block or poll on event_listener easily @@ -14,6 +14,9 @@ URL: https://crates.io/crates/event-listener-strategy Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: event-listener-strategy-fix-metadata-auto.diff +# Manually created patch for downstream crate metadata changes +# * drop feature for unsupported loom permutation testing framework +Patch: event-listener-strategy-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 e9abfb6..40ff75c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (event-listener-strategy-0.5.2.crate) = 7b3759d07c7936b53351172e38623658cbe642f079426c99e7f9187ba1d7f8cbbe7530c056cc760909cda4e70281a50577caa41426164b4c8d6c3f4cbddb2626 +SHA512 (event-listener-strategy-0.5.3.crate) = f1a14f69afb9765a317b3d7bda505a28f050a7594d6b07e5263d635b806d494ab41c456dcf38ca924ecc0595be0f77e32ffe239107fce1cc5b71ee7249419f5a