public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-ureq] f45: Update to version 3.4.1; Fixes RHBZ#2529152
@ 2026-09-07 6:43 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-07 6:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-ureq
Branch : f45
Commit : 732c3d795af529dd0b260d130f472673d1c8c16a
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-07T07:36:00+01:00
Stats : +57/-10 in 8 file(s)
URL : https://src.fedoraproject.org/rpms/rust-ureq/c/732c3d795af529dd0b260d130f472673d1c8c16a?branch=f45
Log:
Update to version 3.4.1; Fixes RHBZ#2529152
---
diff --git a/.gitignore b/.gitignore
index ea96618..51e0029 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/ureq-2.12.1.crate
/ureq-3.3.0.crate
/ureq-3.4.0.crate
+/ureq-3.4.1.crate
diff --git a/0001-Downstream-only-omit-tests-that-require-network-acce.patch b/0001-Downstream-only-omit-tests-that-require-network-acce.patch
index 33a9751..c6108c2 100644
--- a/0001-Downstream-only-omit-tests-that-require-network-acce.patch
+++ b/0001-Downstream-only-omit-tests-that-require-network-acce.patch
@@ -1,14 +1,14 @@
-From 2d26abee2815fde560ca6dfa3c6f021200958fad Mon Sep 17 00:00:00 2001
+From 1edbaeac339f382ba76e3f5dcef486870bcfc56a Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Sun, 28 Jun 2026 10:16:41 +0100
-Subject: [PATCH] Downstream-only: omit tests that require network access
+Subject: [PATCH 1/2] Downstream-only: omit tests that require network access
---
src/lib.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib.rs b/src/lib.rs
-index c616c6f..f1fc34c 100644
+index 95cfc97..cc72a15 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -36,7 +36,7 @@
@@ -39,5 +39,5 @@ index c616c6f..f1fc34c 100644
//! .header("Transfer-Encoding", "chunked")
//! .send("Hello world")?;
--
-2.54.0
+2.55.0
diff --git a/0002-Downstream-only-omit-tests-that-would-require-rustls.patch b/0002-Downstream-only-omit-tests-that-would-require-rustls.patch
new file mode 100644
index 0000000..7ef7cbc
--- /dev/null
+++ b/0002-Downstream-only-omit-tests-that-would-require-rustls.patch
@@ -0,0 +1,35 @@
+From 361792cbfba9ce49300bed59354a280a66c7992b Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Mon, 7 Sep 2026 07:26:20 +0100
+Subject: [PATCH 2/2] Downstream-only: omit tests that would require
+ rustls/aws-lc-rs
+
+---
+ src/tls/mod.rs | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/tls/mod.rs b/src/tls/mod.rs
+index 8c6d986..26d70c6 100644
+--- a/src/tls/mod.rs
++++ b/src/tls/mod.rs
+@@ -233,7 +233,7 @@ impl TlsConfigBuilder {
+ ///
+ /// * Agent
+ ///
+- /// ```
++ /// ```ignore
+ /// use std::sync::Arc;
+ /// use ureq::{Agent};
+ /// use ureq::tls::{TlsConfig, TlsProvider};
+@@ -456,6 +456,8 @@ mod test {
+ }
+
+ #[test]
++ // Downstream-only: omit tests that would require rustls/aws-lc-rs
++ #[cfg(false)]
+ #[cfg(feature = "_rustls")]
+ fn rustls_uses_connection_timeout() {
+ let tls_config = TlsConfig::builder()
+--
+2.55.0
+
diff --git a/rust-ureq.spec b/rust-ureq.spec
index b418495..07435f2 100644
--- a/rust-ureq.spec
+++ b/rust-ureq.spec
@@ -5,7 +5,7 @@
%global crate ureq
Name: rust-ureq
-Version: 3.4.0
+Version: 3.4.1
Release: %autorelease
Summary: Simple, safe HTTP client
@@ -24,6 +24,9 @@ Patch: ureq-fix-metadata.diff
# * Downstream-only: omit tests that require network access (and are not
# practical to skip by name, e.g. anonymous doctests).
Patch10: 0001-Downstream-only-omit-tests-that-require-network-acce.patch
+# * Downstream-only: omit tests that require rustls/aws-lc-rs to compile
+# * We don’t have aws-lc-rs, and patched out the dependency on this feature
+Patch11: 0002-Downstream-only-omit-tests-that-would-require-rustls.patch
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 9b7014e..17b75af 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -61,6 +61,14 @@ to skip by name, e.g. anonymous doctests).\
""",
]
+[[package.extra-patches]]
+number = 11
+file = "0002-Downstream-only-omit-tests-that-would-require-rustls.patch"
+comments = [
+ "Downstream-only: omit tests that require rustls/aws-lc-rs to compile",
+ "We don’t have aws-lc-rs, and patched out the dependency on this feature",
+]
+
[tests]
skip-exact = false
skip = [
diff --git a/sources b/sources
index 2e9d7fc..be37d54 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ureq-3.4.0.crate) = 4e24743e7f5c465b4347bdb1e7b9073e8007001ed4e9de0c0b56822aa8dd0a7f1a73b298f67df1498d6de1105cf540e240a5c8474f2b63007f7f07207cbd773a
+SHA512 (ureq-3.4.1.crate) = a69728b7edd8216730335ba216ab6c9b0150caf71e615ce4b560b599d39782344de29f9d0ca15699d3e2cc6744398227a40155c0f8e5ffa59f02f506f63e148b
diff --git a/ureq-fix-metadata-auto.diff b/ureq-fix-metadata-auto.diff
index dcd04d7..6cfc02d 100644
--- a/ureq-fix-metadata-auto.diff
+++ b/ureq-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
---- ureq-3.4.0/Cargo.toml 2006-07-24T01:21:28+00:00
-+++ ureq-3.4.0/Cargo.toml 2026-09-06T21:25:18.337006+00:00
+--- ureq-3.4.1/Cargo.toml 2006-07-24T01:21:28+00:00
++++ ureq-3.4.1/Cargo.toml 2026-09-07T06:35:46.690680+00:00
@@ -111,7 +111,7 @@
rustls-webpki-roots = ["dep:webpki-roots"]
socks-proxy = ["dep:socks"]
diff --git a/ureq-fix-metadata.diff b/ureq-fix-metadata.diff
index 9fdccc9..0a50a7a 100644
--- a/ureq-fix-metadata.diff
+++ b/ureq-fix-metadata.diff
@@ -1,5 +1,5 @@
---- ureq-3.4.0/Cargo.toml 2006-07-24T01:21:28+00:00
-+++ ureq-3.4.0/Cargo.toml 2026-09-06T21:25:18.338342+00:00
+--- ureq-3.4.1/Cargo.toml 2006-07-24T01:21:28+00:00
++++ ureq-3.4.1/Cargo.toml 2026-09-07T06:35:46.691911+00:00
@@ -118,19 +118,6 @@
path = "src/lib.rs"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-07 6:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 6:43 [rpms/rust-ureq] f45: Update to version 3.4.1; Fixes RHBZ#2529152 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox