From 5e0faba983df303343605f1dec2f454a498cbd38 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 21 Oct 2020 20:35:04 +0200 Subject: [PATCH] bump to tokio-socks 0.3 --- reqwest-fix-metadata.diff | 11 ++++++++++- rust-reqwest.spec | 7 ++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/reqwest-fix-metadata.diff b/reqwest-fix-metadata.diff index 865e62e..31bff71 100644 --- a/reqwest-fix-metadata.diff +++ b/reqwest-fix-metadata.diff @@ -1,5 +1,5 @@ --- reqwest-0.10.8/Cargo.toml 2020-08-25T16:30:15+00:00 -+++ reqwest-0.10.8/Cargo.toml 2020-08-26T17:37:20.615825+00:00 ++++ reqwest-0.10.8/Cargo.toml 2020-10-21T18:24:19.387172+00:00 @@ -102,7 +102,6 @@ gzip = ["async-compression", "async-compression/gzip"] json = ["serde_json"] @@ -8,6 +8,15 @@ rustls-tls = ["hyper-rustls", "tokio-rustls", "webpki-roots", "rustls", "__tls"] socks = ["tokio-socks"] stream = [] +@@ -195,7 +194,7 @@ + optional = true + + [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-socks] +-version = "0.2" ++version = "0.3" + optional = true + + [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-tls] @@ -235,18 +234,3 @@ version = "0.2.0" features = ["macros"] diff --git a/rust-reqwest.spec b/rust-reqwest.spec index a70ab0c..22f8941 100644 --- a/rust-reqwest.spec +++ b/rust-reqwest.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.10.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Higher level HTTP client library # Upstream license specification: MIT/Apache-2.0 @@ -15,6 +15,8 @@ URL: https://crates.io/crates/reqwest Source: %{crates_source} # Initial patched metadata # * No windows/wasm32 +# * Bump tokio-socks from 0.2 to 0.3: +# https://github.com/seanmonstar/reqwest/commit/d42d16c Patch0: reqwest-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -399,6 +401,9 @@ which use "webpki-roots" feature of "%{crate}" crate. %endif %changelog +* Wed Oct 21 2020 Fabio Valentini - 0.10.8-2 +- Bump to tokio-socks 0.3. + * Wed Aug 26 2020 Josh Stone - 0.10.8-1 - Update to 0.10.8