diff --git a/.gitignore b/.gitignore index 562cd89..ed7686c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /tokio-util-0.6.9.crate /tokio-util-0.7.1.crate /tokio-util-0.7.2.crate +/tokio-util-0.7.3.crate diff --git a/rust-tokio-util.spec b/rust-tokio-util.spec index 3e14d1a..c6eb6b0 100644 --- a/rust-tokio-util.spec +++ b/rust-tokio-util.spec @@ -6,7 +6,7 @@ %global crate tokio-util Name: rust-%{crate} -Version: 0.7.2 +Version: 0.7.3 Release: %autorelease Summary: Additional utilities for working with Tokio @@ -14,6 +14,9 @@ Summary: Additional utilities for working with Tokio License: MIT URL: https://crates.io/crates/tokio-util Source: %{crates_source} +# Initial patched metadata +# * drop unstable-only hashbrown dependency +Patch0: tokio-util-fix-metadata.diff ExclusiveArch: %{rust_arches} diff --git a/sources b/sources index 1923238..e7209e8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tokio-util-0.7.2.crate) = c67c0ef7fa90a07503f932c2d11e27077570681abf6ad82773e0408c2f7751feda4208dcf86ea1ceef721591541a25328ba1b38a34653f4196433f2314549d87 +SHA512 (tokio-util-0.7.3.crate) = 5c179fe85af6323c4080fdeb119847078b896e5416c0ea6440090ac829bb02f4b9cf4c983ede8eeb8bd628ab9f8acd96d02e2be0ac8d7449fc4011abb2894982 diff --git a/tokio-util-fix-metadata.diff b/tokio-util-fix-metadata.diff new file mode 100644 index 0000000..3bf8254 --- /dev/null +++ b/tokio-util-fix-metadata.diff @@ -0,0 +1,16 @@ +--- tokio-util-0.7.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ tokio-util-0.7.3/Cargo.toml 2022-07-16T12:43:18.189939+00:00 +@@ -115,13 +115,8 @@ + "tokio/rt", + "tokio/sync", + "futures-util", +- "hashbrown", + ] + time = [ + "tokio/time", + "slab", + ] +- +-[target."cfg(tokio_unstable)".dependencies.hashbrown] +-version = "0.12.0" +-optional = true