diff --git a/.gitignore b/.gitignore index 65ce2f4..f6f4b5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /socket2-0.3.0.crate +/socket2-0.3.1.crate diff --git a/rust-socket2.spec b/rust-socket2.spec index cb54845..3646edb 100644 --- a/rust-socket2.spec +++ b/rust-socket2.spec @@ -5,7 +5,7 @@ %global crate socket2 Name: rust-%{crate} -Version: 0.3.0 +Version: 0.3.1 Release: 1%{?dist} Summary: Utilities for handling networking sockets @@ -14,7 +14,7 @@ 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.0-fix-metadata.diff +Patch0: socket2-0.3.1-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -62,5 +62,8 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Wed Jan 24 2018 Igor Gnatenko - 0.3.1-1 +- Update to 0.3.1 + * Sat Jan 13 2018 Igor Gnatenko - 0.3.0-1 - Initial package diff --git a/socket2-0.3.0-fix-metadata.diff b/socket2-0.3.1-fix-metadata.diff similarity index 53% rename from socket2-0.3.0-fix-metadata.diff rename to socket2-0.3.1-fix-metadata.diff index 7f13cb2..5552cd3 100644 --- a/socket2-0.3.0-fix-metadata.diff +++ b/socket2-0.3.1-fix-metadata.diff @@ -1,9 +1,9 @@ ---- socket2-0.3.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ socket2-0.3.0/Cargo.toml 2018-01-13T17:44:09.664288+01:00 -@@ -34,6 +34,3 @@ +--- 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" +-version = "0.3.3" -features = ["handleapi", "ws2def", "ws2ipdef", "ws2tcpip", "minwindef"] diff --git a/sources b/sources index 13c94bf..abca908 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (socket2-0.3.0.crate) = 8a40d5a2c57d6e592596347ca64095947b2dec8703df2fd385e2532c286aae0bec335f932560ef4adf90eddb6fa057f1217186f30d6c252c229447a075c020f8 +SHA512 (socket2-0.3.1.crate) = 50595a4f28e472423d2cd9afae971a7e62e1c0e948c5ede4dc4778a4f9d55f402e9e3adc23d008c18861d8e9b482f1edca673e775063b52a71018a75aaff6bfa