diff --git a/.gitignore b/.gitignore index b87dfa1..a2b7e7f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /async-executor-1.5.3.crate /async-executor-1.5.4.crate /async-executor-1.6.0.crate +/async-executor-1.8.0.crate diff --git a/async-executor-fix-metadata-auto.diff b/async-executor-fix-metadata-auto.diff new file mode 100644 index 0000000..e61abe9 --- /dev/null +++ b/async-executor-fix-metadata-auto.diff @@ -0,0 +1,10 @@ +--- async-executor-1.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-executor-1.8.0/Cargo.toml 2024-01-05T20:29:58.741729+00:00 +@@ -81,7 +81,3 @@ + [dev-dependencies.once_cell] + version = "1.16.0" + +-[target."cfg(target_family = \"wasm\")".dependencies.futures-lite] +-version = "2.0.0" +-features = ["std"] +-default-features = false diff --git a/async-executor-fix-metadata.diff b/async-executor-fix-metadata.diff index 7d05f17..dc53c09 100644 --- a/async-executor-fix-metadata.diff +++ b/async-executor-fix-metadata.diff @@ -1,8 +1,19 @@ ---- async-executor-1.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ async-executor-1.6.0/Cargo.toml 2023-11-14T23:16:20.705091+00:00 -@@ -61,11 +61,6 @@ +--- async-executor-1.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-executor-1.8.0/Cargo.toml 2024-01-05T20:30:08.128761+00:00 +@@ -32,10 +32,6 @@ + license = "Apache-2.0 OR MIT" + repository = "https://github.com/smol-rs/async-executor" + +-[[bench]] +-name = "executor" +-harness = false +- + [dependencies.async-lock] + version = "3.0.0" + +@@ -61,11 +57,6 @@ [dev-dependencies.async-io] - version = "1.1.9" + version = "2.1.0" -[dev-dependencies.criterion] -version = "0.4.0" diff --git a/rust-async-executor.spec b/rust-async-executor.spec index 06cda57..b7bfd84 100644 --- a/rust-async-executor.spec +++ b/rust-async-executor.spec @@ -5,13 +5,15 @@ %global crate async-executor Name: rust-async-executor -Version: 1.6.0 +Version: 1.8.0 Release: %autorelease Summary: Async executor License: Apache-2.0 OR MIT URL: https://crates.io/crates/async-executor Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: async-executor-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: async-executor-fix-metadata.diff diff --git a/sources b/sources index 5588d58..da0b030 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-executor-1.6.0.crate) = afca7c776c5b05246c020c9945fffb05787325bd4af493b4c543be194f8e408e9a147ab319acd7e9833aa80694286d861aa490e1d997557ac7a506e08b85d55f +SHA512 (async-executor-1.8.0.crate) = 285361d42c34331b3ef67d9d768f62bc72077046766d44802a7e769d5e56718505751d9019b0867b2c28c08273038ca18a936430ff44b7714b780fe520adface