diff --git a/.gitignore b/.gitignore index 8d8313f..7af651e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /net2-0.2.31.crate +/net2-0.2.32.crate diff --git a/net2-0.2.31-fix-metadata.diff b/net2-0.2.31-fix-metadata.diff deleted file mode 100644 index 7115422..0000000 --- a/net2-0.2.31-fix-metadata.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- net2-0.2.31/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ net2-0.2.31/Cargo.toml 2017-11-07T11:02:03.180847+01:00 -@@ -35,13 +35,6 @@ - version = "0.2.16" - [target.x86_64-apple-darwin.dependencies.libc] - version = "0.2.16" --[target."cfg(windows)".dependencies.kernel32-sys] --version = "0.2" - --[target."cfg(windows)".dependencies.winapi] --version = "0.2" -- --[target."cfg(windows)".dependencies.ws2_32-sys] --version = "0.2" - [target."cfg(unix)".dependencies.libc] - version = "0.2.16" diff --git a/net2-0.2.32-fix-metadata.diff b/net2-0.2.32-fix-metadata.diff new file mode 100644 index 0000000..2bfd58f --- /dev/null +++ b/net2-0.2.32-fix-metadata.diff @@ -0,0 +1,12 @@ +--- net2-0.2.32/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ net2-0.2.32/Cargo.toml 2018-02-28T17:57:25.001830-08:00 +@@ -29,9 +29,6 @@ + nightly = [] + [target."cfg(unix)".dependencies.libc] + version = "0.2.37" +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["handleapi", "winsock2", "ws2def", "ws2ipdef", "ws2tcpip"] + [target.i686-apple-darwin.dependencies.libc] + version = "0.2.37" + [target.i686-unknown-linux-gnu.dependencies.libc] diff --git a/rust-net2.spec b/rust-net2.spec index 75e8036..8bf511f 100644 --- a/rust-net2.spec +++ b/rust-net2.spec @@ -5,8 +5,8 @@ %global crate net2 Name: rust-%{crate} -Version: 0.2.31 -Release: 3%{?dist} +Version: 0.2.32 +Release: 1%{?dist} Summary: Extensions to the standard library's networking types as proposed in RFC 1158 License: MIT or ASL 2.0 @@ -14,18 +14,18 @@ URL: https://crates.io/crates/net2 Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows -Patch0: net2-0.2.31-fix-metadata.diff +Patch0: net2-0.2.32-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.16 with crate(libc) < 0.3.0) -BuildRequires: (crate(libc) >= 0.2.16 with crate(libc) < 0.3.0) -BuildRequires: (crate(libc) >= 0.2.16 with crate(libc) < 0.3.0) -BuildRequires: (crate(libc) >= 0.2.16 with crate(libc) < 0.3.0) -BuildRequires: (crate(libc) >= 0.2.16 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc) >= 0.2.37 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc) >= 0.2.37 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc) >= 0.2.37 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc) >= 0.2.37 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc) >= 0.2.37 with crate(libc) < 0.3.0) %description %{summary}. @@ -62,6 +62,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Thu Mar 01 2018 Josh Stone - 0.2.32-1 +- Update to 0.2.32 + * Fri Feb 09 2018 Fedora Release Engineering - 0.2.31-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 93ea742..e9fd9cb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (net2-0.2.31.crate) = 23311a2b702d705219184667d4dd976c43111c88f5fb0ccda63849a7c5ebea19a08e4b63dd73647db805739184e0b297234b6c0248563c36a3f5ded4b5315dd2 +SHA512 (net2-0.2.32.crate) = c0a67b842fd712553f99c330c75fa31cc77941805ca59888efd31deed6d9413baa1018c5b7d781265b73d142c9b792cb4fedd4bcfa77e4502c5cb09132fef4d7