Update to 0.3.6

epel9
Josh Stone 7 years ago
parent 05d26abc2c
commit b1fefd3e6e

1
.gitignore vendored

@ -4,3 +4,4 @@
/socket2-0.3.3.crate
/socket2-0.3.4.crate
/socket2-0.3.5.crate
/socket2-0.3.6.crate

@ -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 <jistone@redhat.com> - 0.3.6-1
- Update to 0.3.6
* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.3.5-1
- Update to 0.3.5

@ -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"]

@ -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"]

@ -1 +1 @@
SHA512 (socket2-0.3.5.crate) = 66c8e975862dc4e1498abc47199485c802a8ef09ddb1f9fb0af7613d794f98aaaabe96490d7923d3a3f0cae91864ffc1edf89b77c56231f363c2a1cc820edc63
SHA512 (socket2-0.3.6.crate) = afce6a4dc256fdf3fb131e36965e416895e2fd0d906b271e63ec6213c36ddf899c4d8deb139902a2e75631243f9c244d44494a21d2b8b2eb07b7fb78a3518b77

Loading…
Cancel
Save