diff --git a/.gitignore b/.gitignore index dae8d8b..de4021c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /socket2-0.3.4.crate /socket2-0.3.5.crate /socket2-0.3.6.crate +/socket2-0.3.7.crate diff --git a/rust-socket2.spec b/rust-socket2.spec index 93cf732..10f3f39 100644 --- a/rust-socket2.spec +++ b/rust-socket2.spec @@ -5,7 +5,7 @@ %global crate socket2 Name: rust-%{crate} -Version: 0.3.6 +Version: 0.3.7 Release: 1%{?dist} Summary: Utilities for handling networking sockets @@ -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 or redox -Patch0: socket2-0.3.6-fix-metadata.diff +Patch0: socket2-0.3.7-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.0 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc) >= 0.2.42 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 Jun 28 2018 Igor Gnatenko - 0.3.7-1 +- Update to 0.3.7 + * Tue Jun 05 2018 Josh Stone - 0.3.6-1 - Update to 0.3.6 diff --git a/socket2-0.3.6-fix-metadata.diff b/socket2-0.3.6-fix-metadata.diff deleted file mode 100644 index f05ab16..0000000 --- a/socket2-0.3.6-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/socket2-0.3.7-fix-metadata.diff b/socket2-0.3.7-fix-metadata.diff new file mode 100644 index 0000000..53e94fe --- /dev/null +++ b/socket2-0.3.7-fix-metadata.diff @@ -0,0 +1,11 @@ +--- socket2-0.3.7/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ socket2-0.3.7/Cargo.toml 2018-06-28T11:00:16.832072+02:00 +@@ -33,8 +33,3 @@ + + [target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc] + version = "0.2.42" +-[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 7a1867e..5757927 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (socket2-0.3.6.crate) = afce6a4dc256fdf3fb131e36965e416895e2fd0d906b271e63ec6213c36ddf899c4d8deb139902a2e75631243f9c244d44494a21d2b8b2eb07b7fb78a3518b77 +SHA512 (socket2-0.3.7.crate) = 8f1244ff7b8a100026736eb1a873b3de219e9cb9beadc92a889e083579c4eb93145f987cc91a32440f2216402b8a3591de6afd6b0285a4b75dff7711fb3659a3