From d1fdc701ee72acd24745153bee517feae0a0643a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 21 Mar 2023 15:03:13 +0100 Subject: [PATCH] Update to version 0.11.15; Fixes RHBZ#2180105 --- .gitignore | 1 + reqwest-fix-metadata-auto.diff | 10 ++++++---- rust-reqwest.spec | 2 +- rust2rpm.conf | 5 +++++ sources | 2 +- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 32f1583..adae4b9 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /reqwest-0.11.11.crate /reqwest-0.11.12.crate /reqwest-0.11.14.crate +/reqwest-0.11.15.crate diff --git a/reqwest-fix-metadata-auto.diff b/reqwest-fix-metadata-auto.diff index c1cdc78..cb4ed30 100644 --- a/reqwest-fix-metadata-auto.diff +++ b/reqwest-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- reqwest-0.11.14/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ reqwest-0.11.14/Cargo.toml 2023-02-23T15:53:48.406031+00:00 -@@ -211,7 +211,6 @@ +--- reqwest-0.11.15/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ reqwest-0.11.15/Cargo.toml 2023-03-21T13:57:15.312557+00:00 +@@ -218,7 +218,6 @@ stream = [ "tokio/fs", "tokio-util", @@ -8,7 +8,7 @@ ] trust-dns = ["trust-dns-resolver"] -@@ -370,46 +369,3 @@ +@@ -398,48 +397,3 @@ ] default-features = false @@ -31,6 +31,8 @@ -[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] -version = "0.3.25" -features = [ +- "AbortController", +- "AbortSignal", - "Headers", - "Request", - "RequestInit", diff --git a/rust-reqwest.spec b/rust-reqwest.spec index 258b783..8711335 100644 --- a/rust-reqwest.spec +++ b/rust-reqwest.spec @@ -5,7 +5,7 @@ %global crate reqwest Name: rust-reqwest -Version: 0.11.14 +Version: 0.11.15 Release: %autorelease Summary: Higher level HTTP client library diff --git a/rust2rpm.conf b/rust2rpm.conf index ffa085f..b0e52a5 100644 --- a/rust2rpm.conf +++ b/rust2rpm.conf @@ -1,8 +1,13 @@ [DEFAULT] unwanted-features = __rustls + futures-channel + h3 + h3-quinn + http3 hyper-rustls native-tls-vendored + quinn rustls rustls-native-certs rustls-pemfile diff --git a/sources b/sources index 4130131..c36b1d5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (reqwest-0.11.14.crate) = b853212d8495e98295e861b900e73ce80be1135ec9904b57dd75de2102fc465c3e3dee93c70c07dc46ac67b56affbc0f88a7b65c706521564a7c1ac5f6e62115 +SHA512 (reqwest-0.11.15.crate) = 8ee67ce1369008b098335fb9567eb92fe7147663452d062f2b10f7d24eef5fac50e327321013f28846942ba8e5a9ec666ed662014ad6bfce20772ef096da631b