diff --git a/.gitignore b/.gitignore index 85a78e5..5889ee4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /async-io-1.4.1.crate /async-io-1.6.0.crate /async-io-1.7.0.crate +/async-io-1.8.0.crate diff --git a/async-io-fix-metadata.diff b/async-io-fix-metadata-auto.diff similarity index 61% rename from async-io-fix-metadata.diff rename to async-io-fix-metadata-auto.diff index 6aecf45..acccf88 100644 --- a/async-io-fix-metadata.diff +++ b/async-io-fix-metadata-auto.diff @@ -1,10 +1,9 @@ ---- async-io-1.7.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ async-io-1.7.0/Cargo.toml 2022-05-30T19:05:56.545327+00:00 -@@ -88,10 +88,3 @@ - +--- async-io-1.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-io-1.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 +@@ -93,9 +93,3 @@ [target."cfg(unix)".dependencies.libc] version = "0.2.77" -- + -[target."cfg(windows)".dependencies.winapi] -version = "0.3.9" -features = ["winsock2"] diff --git a/rust-async-io.spec b/rust-async-io.spec index 187296b..8296494 100644 --- a/rust-async-io.spec +++ b/rust-async-io.spec @@ -1,22 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 22 # * resolve circular dependency between async-{channel,net} and async-io %bcond_with check %global debug_package %{nil} %global crate async-io -Name: rust-%{crate} -Version: 1.7.0 +Name: rust-async-io +Version: 1.8.0 Release: %autorelease Summary: Async I/O and timers -# Upstream license specification: Apache-2.0 OR MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/async-io Source: %{crates_source} -# Initial patched metadata -# * drop windows-specific dependencies -Patch0: async-io-fix-metadata.diff +# Automatically generated patch to strip foreign dependencies +Patch: async-io-fix-metadata-auto.diff ExclusiveArch: %{rust_arches} diff --git a/sources b/sources index 9fdfd56..30360e9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-io-1.7.0.crate) = aacb634f225b674cd79ea1e152ef0539f789b698768804ee7f4fd261321cf73ce55cd9028b062acc5ec82d29a072d15da408e14071f78ecc27f2ebe746e08074 +SHA512 (async-io-1.8.0.crate) = c3dac34b20ffa9525e615b6f06bb7909c9310a70ca135a395a9f0f0a4369bae32d366d3fa38f59240bb39862b2ed0ff15f18d3cf897f927c7496a67821f608d5