diff --git a/.gitignore b/.gitignore index a122e23..6c899d4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /polling-2.1.0.crate /polling-2.2.0.crate /polling-2.3.0.crate +/polling-2.5.1.crate diff --git a/polling-fix-metadata-auto.diff b/polling-fix-metadata-auto.diff index 57798ea..eae255f 100644 --- a/polling-fix-metadata-auto.diff +++ b/polling-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- polling-2.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ polling-2.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -60,13 +60,3 @@ +--- polling-2.5.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ polling-2.5.1/Cargo.toml 1970-01-01T00:00:01+00:00 +@@ -58,13 +58,3 @@ [target."cfg(any(unix, target_os = \"fuchsia\", target_os = \"vxworks\"))".dependencies.libc] version = "0.2.77" @@ -8,9 +8,9 @@ -version = "0.1.2" -features = ["null-overlapped-wakeups-patch"] - --[target."cfg(windows)".dependencies.winapi] --version = "0.3.9" +-[target."cfg(windows)".dependencies.windows-sys] +-version = "0.42" -features = [ -- "ioapiset", -- "winsock2", +- "Win32_System_IO", +- "Win32_Foundation", -] diff --git a/rust-polling.spec b/rust-polling.spec index 442eade..d5554a9 100644 --- a/rust-polling.spec +++ b/rust-polling.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate polling Name: rust-polling -Version: 2.3.0 +Version: 2.5.1 Release: %autorelease Summary: Portable interface to epoll, kqueue, event ports, and wepoll @@ -15,8 +15,6 @@ Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: polling-fix-metadata-auto.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: diff --git a/sources b/sources index 2a5d3e3..d24805c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (polling-2.3.0.crate) = 2f3352c0cddd06fb85b2cb5967ced2f3e18ab9dc6b66d08155038b7398443c797bc74a88983bb999a9c87a7c47a1170e34b920b18dc0485901def84c2ac1db35 +SHA512 (polling-2.5.1.crate) = 94cb93645dc38f8d7777eab7a2b6f22615eaafb6b6cfe24a5a91e9d70646c5eabdfc0ecdaff202a1590558d447fad537cc000f235b7b36ff79112ca7099fdc6e