From 0c36e6ddb16f9b8852f422cca7f06d6aa0ea2b80 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 12 Mar 2023 15:55:19 +0100 Subject: [PATCH] Update to version 2.6.0; Fixes RHBZ#2176579 --- .gitignore | 1 + polling-fix-metadata-auto.diff | 23 ++++++++++++++++------- rust-polling.spec | 8 ++++---- sources | 2 +- 4 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index acddc7e..6c3088f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /polling-2.3.0.crate /polling-2.5.1.crate /polling-2.5.2.crate +/polling-2.6.0.crate diff --git a/polling-fix-metadata-auto.diff b/polling-fix-metadata-auto.diff index a791ef1..bd14f01 100644 --- a/polling-fix-metadata-auto.diff +++ b/polling-fix-metadata-auto.diff @@ -1,16 +1,25 @@ ---- polling-2.5.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ polling-2.5.2/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -58,13 +58,3 @@ +--- polling-2.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ polling-2.6.0/Cargo.toml 2023-03-12T14:53:05.439048+00:00 +@@ -60,22 +60,3 @@ [target."cfg(any(unix, target_os = \"fuchsia\", target_os = \"vxworks\"))".dependencies.libc] version = "0.2.77" --[target."cfg(windows)".dependencies.wepoll-ffi] --version = "0.1.2" --features = ["null-overlapped-wakeups-patch"] +-[target."cfg(windows)".dependencies.bitflags] +-version = "1.3.2" +- +-[target."cfg(windows)".dependencies.concurrent-queue] +-version = "2.1.0" +- +-[target."cfg(windows)".dependencies.pin-project-lite] +-version = "0.2.9" - -[target."cfg(windows)".dependencies.windows-sys] --version = "0.42" +-version = "0.45" -features = [ +- "Win32_Networking_WinSock", - "Win32_System_IO", +- "Win32_System_LibraryLoader", +- "Win32_System_WindowsProgramming", +- "Win32_Storage_FileSystem", - "Win32_Foundation", -] diff --git a/rust-polling.spec b/rust-polling.spec index 7ed48ae..eebcc44 100644 --- a/rust-polling.spec +++ b/rust-polling.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate polling Name: rust-polling -Version: 2.5.2 +Version: 2.6.0 Release: %autorelease -Summary: Portable interface to epoll, kqueue, event ports, and wepoll +Summary: Portable interface to epoll, kqueue, event ports, and IOCP License: Apache-2.0 OR MIT URL: https://crates.io/crates/polling @@ -18,7 +18,7 @@ Patch: polling-fix-metadata-auto.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: -Portable interface to epoll, kqueue, event ports, and wepoll.} +Portable interface to epoll, kqueue, event ports, and IOCP.} %description %{_description} diff --git a/sources b/sources index b84a1e8..6bfe52a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (polling-2.5.2.crate) = 43731459c75e94678b6075e2a46f2189debcae570d810bc7b8b9497d79128ded3bf41677a75a9be2a36ad7848e56d22b1fabe11df99a9df777f1d5d83c83efe8 +SHA512 (polling-2.6.0.crate) = 3e7a29d919a364747be2a82be2b613b27fd5c033e2d3799f940f616c85057a6bb1c2b1022e60443f56f3fb3e61e9373845d9d69cf6ccb68fa57f222b0711303f