diff --git a/.gitignore b/.gitignore index 6bae3dc..32f1583 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /reqwest-0.11.10.crate /reqwest-0.11.11.crate /reqwest-0.11.12.crate +/reqwest-0.11.14.crate diff --git a/README.md b/README.md deleted file mode 100644 index 6882a71..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-reqwest - -The rust-reqwest package \ No newline at end of file diff --git a/reqwest-fix-metadata-auto.diff b/reqwest-fix-metadata-auto.diff index 0288d4b..c1cdc78 100644 --- a/reqwest-fix-metadata-auto.diff +++ b/reqwest-fix-metadata-auto.diff @@ -1,6 +1,14 @@ ---- reqwest-0.11.12/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ reqwest-0.11.12/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -374,41 +374,3 @@ +--- 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 @@ + stream = [ + "tokio/fs", + "tokio-util", +- "wasm-streams", + ] + trust-dns = ["trust-dns-resolver"] + +@@ -370,46 +369,3 @@ ] default-features = false @@ -16,6 +24,10 @@ -[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] -version = "0.4.18" - +-[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-streams] +-version = "0.2" +-optional = true +- -[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] -version = "0.3.25" -features = [ @@ -31,6 +43,7 @@ - "ServiceWorkerGlobalScope", - "RequestCredentials", - "File", +- "ReadableStream", -] - -[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen] diff --git a/rust-reqwest.spec b/rust-reqwest.spec index 78afbf9..258b783 100644 --- a/rust-reqwest.spec +++ b/rust-reqwest.spec @@ -1,23 +1,20 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate reqwest Name: rust-reqwest -Version: 0.11.12 +Version: 0.11.14 Release: %autorelease Summary: Higher level HTTP client library -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/reqwest Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: reqwest-fix-metadata-auto.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -269,18 +266,6 @@ use the "native-tls-crate" feature of the "%{crate}" crate. %files -n %{name}+native-tls-crate-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+proc-macro-hack-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+proc-macro-hack-devel %{_description} - -This package contains library source intended for building other packages which -use the "proc-macro-hack" feature of the "%{crate}" crate. - -%files -n %{name}+proc-macro-hack-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index f54ea98..4130131 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (reqwest-0.11.12.crate) = 7ce5e08b580beb3f514c913e3f931242cb6be27a3520285003d054e6ca2efd31eeb469aecd049569e46b7e12c6ee884f5cbcd9665c1e868a83d9bfa4c77e5d03 +SHA512 (reqwest-0.11.14.crate) = b853212d8495e98295e861b900e73ce80be1135ec9904b57dd75de2102fc465c3e3dee93c70c07dc46ac67b56affbc0f88a7b65c706521564a7c1ac5f6e62115