diff --git a/.gitignore b/.gitignore index 81f1d71..381c858 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /socket2-0.4.4.crate /socket2-0.4.7.crate /socket2-0.4.9.crate +/socket2-0.5.2.crate diff --git a/rust-socket2.spec b/rust-socket2.spec index 7309ae5..a44e62e 100644 --- a/rust-socket2.spec +++ b/rust-socket2.spec @@ -5,7 +5,7 @@ %global crate socket2 Name: rust-socket2 -Version: 0.4.9 +Version: 0.5.2 Release: %autorelease Summary: Utilities for handling networking sockets diff --git a/socket2-fix-metadata-auto.diff b/socket2-fix-metadata-auto.diff index 1a5e90b..f1ff187 100644 --- a/socket2-fix-metadata-auto.diff +++ b/socket2-fix-metadata-auto.diff @@ -1,13 +1,15 @@ ---- socket2-0.4.9/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ socket2-0.4.9/Cargo.toml 2023-03-06T12:04:32.542630+00:00 -@@ -59,10 +59,3 @@ +--- socket2-0.5.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ socket2-0.5.2/Cargo.toml 2023-05-10T15:27:56.113285+00:00 +@@ -74,12 +74,3 @@ [target."cfg(unix)".dependencies.libc] - version = "0.2.139" + version = "0.2.141" --[target."cfg(windows)".dependencies.winapi] --version = "0.3.9" +-[target."cfg(windows)".dependencies.windows-sys] +-version = "0.48" -features = [ -- "handleapi", -- "ws2ipdef", -- "ws2tcpip", +- "Win32_Foundation", +- "Win32_Networking_WinSock", +- "Win32_System_IO", +- "Win32_System_Threading", +- "Win32_System_WindowsProgramming", -] diff --git a/sources b/sources index 4d6841b..b5027e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (socket2-0.4.9.crate) = 6cb2aabc409fc7d9942afc2073a36ad8730c06dcdab1866b9d3d72dc55afc643be6a2ca1f38c2e19fbfe782ae584512a1ab357c0f4974f98967a4f489e65331f +SHA512 (socket2-0.5.2.crate) = 97f1f4316cd45a3142e136ffcdb2f078722c24f39ce6c3f43ea2b15c0955ae101839e98e9ecb47d1fdcccc90dffc87a859409dce88e80aad39b4ea0f1d2b4026