From 4f29d47922d3317178939700b018aa7e950796fc Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mar 01 2018 02:08:12 +0000 Subject: Update to 0.3.2 --- diff --git a/.gitignore b/.gitignore index f6f4b5d..9acacb9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /socket2-0.3.0.crate /socket2-0.3.1.crate +/socket2-0.3.2.crate diff --git a/rust-socket2.spec b/rust-socket2.spec index 95039e3..ecb056b 100644 --- a/rust-socket2.spec +++ b/rust-socket2.spec @@ -5,8 +5,8 @@ %global crate socket2 Name: rust-%{crate} -Version: 0.3.1 -Release: 2%{?dist} +Version: 0.3.2 +Release: 1%{?dist} Summary: Utilities for handling networking sockets License: MIT or ASL 2.0 @@ -14,14 +14,14 @@ 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.1-fix-metadata.diff +Patch0: socket2-0.3.2-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.14 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc) >= 0.2.37 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 +* Thu Mar 01 2018 Josh Stone - 0.3.2-1 +- Update to 0.3.2 + * Fri Feb 09 2018 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/socket2-0.3.1-fix-metadata.diff b/socket2-0.3.1-fix-metadata.diff deleted file mode 100644 index 5552cd3..0000000 --- a/socket2-0.3.1-fix-metadata.diff +++ /dev/null @@ -1,9 +0,0 @@ ---- socket2-0.3.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ socket2-0.3.1/Cargo.toml 2018-01-24T22:58:00.064863+01:00 -@@ -33,6 +33,3 @@ - - [target."cfg(unix)".dependencies.libc] - version = "0.2.14" --[target."cfg(windows)".dependencies.winapi] --version = "0.3.3" --features = ["handleapi", "ws2def", "ws2ipdef", "ws2tcpip", "minwindef"] diff --git a/socket2-0.3.2-fix-metadata.diff b/socket2-0.3.2-fix-metadata.diff new file mode 100644 index 0000000..dde9236 --- /dev/null +++ b/socket2-0.3.2-fix-metadata.diff @@ -0,0 +1,9 @@ +--- 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/sources b/sources index abca908..54627f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (socket2-0.3.1.crate) = 50595a4f28e472423d2cd9afae971a7e62e1c0e948c5ede4dc4778a4f9d55f402e9e3adc23d008c18861d8e9b482f1edca673e775063b52a71018a75aaff6bfa +SHA512 (socket2-0.3.2.crate) = 7bb98e332db4b0fc226ce644cea2549f0b42993b9384621456aae38e53d061021fb52a0738cb56797d6c4f4db013df5c79ca833ad94241136f454ff0a4c7305a