diff --git a/.gitignore b/.gitignore index 0978d20..dae8d8b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /socket2-0.3.3.crate /socket2-0.3.4.crate /socket2-0.3.5.crate +/socket2-0.3.6.crate diff --git a/rust-socket2.spec b/rust-socket2.spec index 9c8a068..93cf732 100644 --- a/rust-socket2.spec +++ b/rust-socket2.spec @@ -5,7 +5,7 @@ %global crate socket2 Name: rust-%{crate} -Version: 0.3.5 +Version: 0.3.6 Release: 1%{?dist} Summary: Utilities for handling networking sockets @@ -13,15 +13,15 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/socket2 Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata -# * No windows -Patch0: socket2-0.3.2-fix-metadata.diff +# * No windows or redox +Patch0: socket2-0.3.6-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(cfg-if) >= 0.1.0 with crate(cfg-if) < 0.2.0) -BuildRequires: (crate(libc) >= 0.2.37 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(tempdir) >= 0.3.0 with crate(tempdir) < 0.4.0) @@ -62,6 +62,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Tue Jun 05 2018 Josh Stone - 0.3.6-1 +- Update to 0.3.6 + * Tue Apr 17 2018 Josh Stone - 0.3.5-1 - Update to 0.3.5 diff --git a/socket2-0.3.2-fix-metadata.diff b/socket2-0.3.2-fix-metadata.diff deleted file mode 100644 index dde9236..0000000 --- a/socket2-0.3.2-fix-metadata.diff +++ /dev/null @@ -1,9 +0,0 @@ ---- socket2-0.3.2/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ socket2-0.3.2/Cargo.toml 2018-02-28T18:04:35.295312-08:00 -@@ -33,6 +33,3 @@ - - [target."cfg(unix)".dependencies.libc] - version = "0.2.37" --[target."cfg(windows)".dependencies.winapi] --version = "0.3.3" --features = ["handleapi", "ws2def", "ws2ipdef", "ws2tcpip", "minwindef"] diff --git a/socket2-0.3.6-fix-metadata.diff b/socket2-0.3.6-fix-metadata.diff new file mode 100644 index 0000000..f05ab16 --- /dev/null +++ b/socket2-0.3.6-fix-metadata.diff @@ -0,0 +1,11 @@ +--- socket2-0.3.6/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ socket2-0.3.6/Cargo.toml 2018-06-04T21:26:47.924414-07:00 +@@ -33,8 +33,3 @@ + + [target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc] + version = "0.2" +-[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] +-version = "0.1.38" +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3.3" +-features = ["handleapi", "ws2def", "ws2ipdef", "ws2tcpip", "minwindef"] diff --git a/sources b/sources index 57e7717..7a1867e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (socket2-0.3.5.crate) = 66c8e975862dc4e1498abc47199485c802a8ef09ddb1f9fb0af7613d794f98aaaabe96490d7923d3a3f0cae91864ffc1edf89b77c56231f363c2a1cc820edc63 +SHA512 (socket2-0.3.6.crate) = afce6a4dc256fdf3fb131e36965e416895e2fd0d906b271e63ec6213c36ddf899c4d8deb139902a2e75631243f9c244d44494a21d2b8b2eb07b7fb78a3518b77