diff --git a/.gitignore b/.gitignore index 75254ae..ca31161 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /socket2-0.4.0.crate /socket2-0.4.1.crate /socket2-0.4.2.crate +/socket2-0.4.3.crate diff --git a/rust-socket2.spec b/rust-socket2.spec index 8552b8d..4033d3d 100644 --- a/rust-socket2.spec +++ b/rust-socket2.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate socket2 Name: rust-%{crate} -Version: 0.4.2 +Version: 0.4.3 Release: %autorelease Summary: Utilities for handling networking sockets @@ -18,9 +18,6 @@ Source: %{crates_source} Patch0: socket2-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -36,11 +33,11 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -50,8 +47,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -62,8 +59,8 @@ BuildArch: noarch %description -n %{name}+all-devel %{_description} -This package contains library source intended for building other packages -which use "all" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "all" feature of the "%{crate}" crate. %files -n %{name}+all-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/socket2-fix-metadata.diff b/socket2-fix-metadata.diff index 826511c..90c9518 100644 --- a/socket2-fix-metadata.diff +++ b/socket2-fix-metadata.diff @@ -1,9 +1,9 @@ ---- socket2-0.4.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ socket2-0.4.2/Cargo.toml 2021-09-27T20:03:50.977110+00:00 +--- socket2-0.4.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ socket2-0.4.3/Cargo.toml 2022-01-21T12:56:15.853122+00:00 @@ -34,6 +34,3 @@ all = [] [target."cfg(unix)".dependencies.libc] - version = "0.2.96" + version = "0.2.113" -[target."cfg(windows)".dependencies.winapi] -version = "0.3.9" -features = ["handleapi", "ws2ipdef", "ws2tcpip"] diff --git a/sources b/sources index 2b5397a..7c9b64b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (socket2-0.4.2.crate) = af4641d98737bbc4d14e82d91791af4705f9dbbec4d8b3a25e7e990a5c7ac25b48eea6c4a743b09db52a037c67a7b676147087688f4e29d6541dd1ad7ff9688b +SHA512 (socket2-0.4.3.crate) = db9d9c021129ea7188cd57553cfbd784e90039c55019c3f97fa8379e6ed5af54471774bfe5d7be182ddf005d4cbe4e1faed7e740d2e2d32f5c49fd581bdd7a30