Update to version 0.2.38; Fixes RHBZ#2136282

epel9
Fabio Valentini 2 years ago
parent 9436015525
commit ac8e2699ec
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -5,3 +5,4 @@
/net2-0.2.35.crate /net2-0.2.35.crate
/net2-0.2.36.crate /net2-0.2.36.crate
/net2-0.2.37.crate /net2-0.2.37.crate
/net2-0.2.38.crate

@ -0,0 +1,15 @@
--- net2-0.2.38/Cargo.toml 1970-01-01T00:00:01+00:00
+++ net2-0.2.38/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -40,12 +40,3 @@
[target."cfg(any(unix, target_os=\"wasi\"))".dependencies.libc]
version = "0.2.54"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = [
- "handleapi",
- "winsock2",
- "ws2def",
- "ws2ipdef",
- "ws2tcpip",
-]

@ -1,9 +0,0 @@
--- net2-0.2.37/Cargo.toml 2020-12-09T19:13:14+00:00
+++ net2-0.2.37/Cargo.toml 2020-12-10T15:08:03.968627+00:00
@@ -30,6 +30,3 @@
nightly = []
[target."cfg(any(target_os=\"redox\", unix, target_os=\"wasi\"))".dependencies.libc]
version = "0.2.54"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["handleapi", "winsock2", "ws2def", "ws2ipdef", "ws2tcpip"]

@ -1,28 +1,22 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate net2 %global crate net2
Name: rust-%{crate} Name: rust-net2
Version: 0.2.37 Version: 0.2.38
Release: %autorelease Release: %autorelease
Summary: Extensions to the standard library's networking types as proposed in RFC 1158 Summary: Extensions to the standard library's networking types as proposed in RFC 1158
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/net2 URL: https://crates.io/crates/net2
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * No windows Patch: net2-fix-metadata-auto.diff
Patch0: net2-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Extensions to the standard library's networking types as proposed in RFC 1158.} Extensions to the standard library's networking types as proposed in RFC 1158.}
@ -35,13 +29,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-MIT LICENSE-APACHE %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +44,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+duration-devel %package -n %{name}+duration-devel
Summary: %{summary} Summary: %{summary}
@ -61,11 +56,11 @@ BuildArch: noarch
%description -n %{name}+duration-devel %{_description} %description -n %{name}+duration-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "duration" feature of "%{crate}" crate. use the "duration" feature of the "%{crate}" crate.
%files -n %{name}+duration-devel %files -n %{name}+duration-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nightly-devel %package -n %{name}+nightly-devel
Summary: %{summary} Summary: %{summary}
@ -73,11 +68,11 @@ BuildArch: noarch
%description -n %{name}+nightly-devel %{_description} %description -n %{name}+nightly-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "nightly" feature of "%{crate}" crate. use the "nightly" feature of the "%{crate}" crate.
%files -n %{name}+nightly-devel %files -n %{name}+nightly-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (net2-0.2.37.crate) = 9ae70c655468c3e35ce05988626e0398a3cdf7b7343c08aaecf1267bb958329e608b814cc7be252fe085de3cf6913a1c72aad206c677459469ba4886c20206ec SHA512 (net2-0.2.38.crate) = 7bedb1a793070125974d3e1e72b052e3406c13cabad01ddfb1db50203377f9e8a7c7c0720331c533b8b141f61edc1e5cfa99ba6800edee11f94703bc6453511c

Loading…
Cancel
Save