diff --git a/.gitignore b/.gitignore index 7af651e..4852c66 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /net2-0.2.31.crate /net2-0.2.32.crate +/net2-0.2.33.crate diff --git a/net2-0.2.32-fix-metadata.diff b/net2-0.2.32-fix-metadata.diff deleted file mode 100644 index 2bfd58f..0000000 --- a/net2-0.2.32-fix-metadata.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- 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/net2-0.2.33-fix-metadata.diff b/net2-0.2.33-fix-metadata.diff new file mode 100644 index 0000000..6bb1707 --- /dev/null +++ b/net2-0.2.33-fix-metadata.diff @@ -0,0 +1,12 @@ +--- net2-0.2.33/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ net2-0.2.33/Cargo.toml 2018-06-29T00:21:26.955021+02:00 +@@ -26,9 +26,5 @@ + [features] + default = ["duration"] + duration = [] +-nightly = [] + [target."cfg(any(target_os=\"redox\", unix))".dependencies.libc] + version = "0.2.42" +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["handleapi", "winsock2", "ws2def", "ws2ipdef", "ws2tcpip"] diff --git a/rust-net2.spec b/rust-net2.spec index 8bf511f..4a987ed 100644 --- a/rust-net2.spec +++ b/rust-net2.spec @@ -5,7 +5,7 @@ %global crate net2 Name: rust-%{crate} -Version: 0.2.32 +Version: 0.2.33 Release: 1%{?dist} Summary: Extensions to the standard library's networking types as proposed in RFC 1158 @@ -14,18 +14,15 @@ 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.32-fix-metadata.diff +# * No nightly +Patch0: net2-0.2.33-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.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.42 with crate(libc) < 0.3.0) %description %{summary}. @@ -62,6 +59,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Thu Jun 28 2018 Igor Gnatenko - 0.2.33-1 +- Update to 0.2.33 + * Thu Mar 01 2018 Josh Stone - 0.2.32-1 - Update to 0.2.32 diff --git a/sources b/sources index e9fd9cb..555ca98 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (net2-0.2.32.crate) = c0a67b842fd712553f99c330c75fa31cc77941805ca59888efd31deed6d9413baa1018c5b7d781265b73d142c9b792cb4fedd4bcfa77e4502c5cb09132fef4d7 +SHA512 (net2-0.2.33.crate) = e522b399071daf1a9b913429e2eee52503d9604114feaf6987e97b85c128246b9137e3dcf03f45ca93d623ca6a4b295c9b703db4c319af47498e07d7714c07a9