public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rustup] epel10: Update to version 1.28.2; Fixes RHBZ#2349879
@ 2026-11-18 21:43 Josh Stone
  0 siblings, 0 replies; only message in thread
From: Josh Stone @ 2026-11-18 21:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rustup
Branch : epel10
Commit : 7be55c6f19870c3b96e70aa15fa48216e5d52631
Author : Josh Stone <jistone@redhat.com>
Date   : 2025-06-02T10:00:01-07:00
Stats  : +228/-280 in 12 file(s)
URL    : https://src.fedoraproject.org/rpms/rustup/c/7be55c6f19870c3b96e70aa15fa48216e5d52631?branch=epel10

Log:
Update to version 1.28.2; Fixes RHBZ#2349879

---
diff --git a/.gitignore b/.gitignore
index c6726c5..b786a47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /rustup-1.26.0.tar.gz
 /rustup-1.27.1.tar.gz
+/rustup-1.28.2.tar.gz

diff --git a/0001-Drop-Windows-specific-dependencies.patch b/0001-Drop-Windows-specific-dependencies.patch
index 207059c..8e5b420 100644
--- a/0001-Drop-Windows-specific-dependencies.patch
+++ b/0001-Drop-Windows-specific-dependencies.patch
@@ -1,67 +1,50 @@
-From 0b95cda53da4080e4999937adeede610b43fd962 Mon Sep 17 00:00:00 2001
+From 6f8bc663dcb79b0614d0c51d80be2c9a938f734e Mon Sep 17 00:00:00 2001
 From: Fabio Valentini <decathorpe@gmail.com>
 Date: Thu, 23 May 2024 17:52:19 +0200
-Subject: [PATCH 1/8] Drop Windows-specific dependencies
+Subject: [PATCH 1/6] Drop Windows-specific dependencies
 
 ---
- Cargo.toml | 44 --------------------------------------------
- 1 file changed, 44 deletions(-)
+ Cargo.toml | 27 ---------------------------
+ 1 file changed, 27 deletions(-)
 
 diff --git a/Cargo.toml b/Cargo.toml
-index 5807cc1..f764cf7 100644
+index 31005d56521d..019382c96785 100644
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -100,50 +100,6 @@ walkdir = { workspace = true, optional = true }
+@@ -97,33 +97,6 @@ walkdir = { version = "2", optional = true }
  xz2 = "0.1.3"
  zstd = "0.13"
  
 -[target."cfg(windows)".dependencies]
 -cc = "1"
--winreg = "0.52"
--
--[target."cfg(windows)".dependencies.winapi]
--features = [
--    "combaseapi",
--    "errhandlingapi",
--    "fileapi",
--    "handleapi",
--    "ioapiset",
--    "jobapi",
--    "jobapi2",
--    "minwindef",
--    "processthreadsapi",
--    "psapi",
--    "shlobj",
--    "shtypes",
--    "synchapi",
--    "sysinfoapi",
--    "tlhelp32",
--    "userenv",
--    "winbase",
--    "winerror",
--    "winioctl",
--    "winnt",
--    "winuser",
--]
--version = "0.3"
+-scopeguard = "1"
+-windows-registry = "0.5.0"
+-windows-result = "0.3.0"
 -
 -[target."cfg(windows)".dependencies.windows-sys]
 -features = [
--    "Win32_Foundation",
--    "Win32_Storage_FileSystem",
--    "Win32_System_SystemServices",
--    "Win32_System_Threading",
--    "Win32_System_WindowsProgramming",
--    "Win32_Security",
--    "Win32_System_Kernel",
--    "Win32_System_IO",
--    "Win32_System_Ioctl",
+-  "Win32_Foundation",
+-  "Win32_Security",
+-  "Win32_Storage_FileSystem",
+-  "Win32_System_Console",
+-  "Win32_System_Diagnostics_ToolHelp",
+-  "Win32_System_IO",
+-  "Win32_System_Ioctl",
+-  "Win32_System_JobObjects",
+-  "Win32_System_Kernel",
+-  "Win32_System_LibraryLoader",
+-  "Win32_System_SystemInformation",
+-  "Win32_System_SystemServices",
+-  "Win32_System_Threading",
+-  "Win32_System_WindowsProgramming",
+-  "Win32_UI",
+-  "Win32_UI_WindowsAndMessaging",
 -]
--version = "0.52.0"
+-version = "0.59"
 -
  [dev-dependencies]
  enum-map = "2.5.0"
- proptest.workspace = true
+ http-body-util = "0.1.0"
 -- 
-2.46.0
+2.49.0
 

diff --git a/0002-Drop-feature-for-statically-linking-against-vendored.patch b/0002-Drop-feature-for-statically-linking-against-vendored.patch
index 80a5c47..3b253c6 100644
--- a/0002-Drop-feature-for-statically-linking-against-vendored.patch
+++ b/0002-Drop-feature-for-statically-linking-against-vendored.patch
@@ -1,25 +1,26 @@
-From 13d994006d0ba0244f281d98e619610d6a840204 Mon Sep 17 00:00:00 2001
+From 7cb00d36022909b718f5736d0ce6cca447d83fbd Mon Sep 17 00:00:00 2001
 From: Fabio Valentini <decathorpe@gmail.com>
 Date: Wed, 8 Nov 2023 17:53:44 +0100
-Subject: [PATCH 2/8] Drop feature for statically linking against vendored
+Subject: [PATCH 2/6] Drop feature for statically linking against vendored
  OpenSSL
 
 ---
- Cargo.toml | 1 -
- 1 file changed, 1 deletion(-)
+ Cargo.toml | 2 --
+ 1 file changed, 2 deletions(-)
 
 diff --git a/Cargo.toml b/Cargo.toml
-index f764cf7..d854a1d 100644
+index 019382c96785..3e647a49faf1 100644
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -20,7 +20,6 @@ default = [
- ]
+@@ -14,8 +14,6 @@ build = "build.rs"
+ curl-backend = ["dep:curl"]
+ default = ["curl-backend", "reqwest-native-tls", "reqwest-rustls-tls"]
  
- reqwest-backend = ["download/reqwest-backend"]
 -vendored-openssl = ['openssl/vendored']
- 
- reqwest-default-tls = ["download/reqwest-default-tls"]
- reqwest-rustls-tls = ["download/reqwest-rustls-tls"]
+-
+ reqwest-native-tls = ["reqwest/native-tls", "dep:reqwest", "dep:env_proxy"]
+ reqwest-rustls-tls = [
+   "reqwest/rustls-tls-manual-roots-no-provider",
 -- 
-2.46.0
+2.49.0
 

diff --git a/0003-Remove-unused-tracing-support.patch b/0003-Remove-unused-tracing-support.patch
index 91ec97e..2fd5aae 100644
--- a/0003-Remove-unused-tracing-support.patch
+++ b/0003-Remove-unused-tracing-support.patch
@@ -1,7 +1,7 @@
-From 5679c65158144dc594d683f5ec36c0c6a70d3918 Mon Sep 17 00:00:00 2001
+From 3ea753eb48e42fa45ec3f277c8a1cc717f584546 Mon Sep 17 00:00:00 2001
 From: Fabio Valentini <decathorpe@gmail.com>
 Date: Thu, 23 May 2024 18:01:37 +0200
-Subject: [PATCH 3/8] Remove unused tracing support
+Subject: [PATCH 3/6] Remove unused tracing support
 
 ---
  Cargo.toml              |  1 -
@@ -12,51 +12,51 @@ Subject: [PATCH 3/8] Remove unused tracing support
  5 files changed, 25 deletions(-)
 
 diff --git a/Cargo.toml b/Cargo.toml
-index d854a1d..f7eaf10 100644
+index 3e647a49faf1..c53c9ea14aad 100644
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -75,7 +75,6 @@ rand = "0.8"
- regex = "1"
- remove_dir_all = { version = "0.8.1", features = ["parallel"] }
+@@ -67,7 +67,6 @@ regex = "1"
+ remove_dir_all = { version = "1.0.0", features = ["parallel"] }
+ reqwest = { version = "0.12", default-features = false, features = ["blocking", "gzip", "http2", "socks", "stream"], optional = true }
  retry = { version = "2", default-features = false, features = ["random"] }
 -rs_tracing = { version = "1.1", features = ["rs_tracing"] }
+ rustls = { version = "0.23", optional = true, default-features = false, features = ["logging", "aws_lc_rs", "tls12"] }
+ rustls-platform-verifier = { version = "0.5", optional = true }
  same-file = "1"
- scopeguard = "1"
- semver = "1.0"
 diff --git a/src/bin/rustup-init.rs b/src/bin/rustup-init.rs
-index bd39295..7e2f781 100644
+index 6055d6ea0222..53cb42093ad3 100644
 --- a/src/bin/rustup-init.rs
 +++ b/src/bin/rustup-init.rs
-@@ -15,10 +15,6 @@
+@@ -17,10 +17,6 @@ use std::process::ExitCode;
  
- use anyhow::{anyhow, Result};
+ use anyhow::{Context, Result, anyhow};
  use cfg_if::cfg_if;
 -// Public macros require availability of the internal symbols
 -use rs_tracing::{
 -    close_trace_file, close_trace_file_internal, open_trace_file, trace_to_file_internal,
 -};
+ use tracing_subscriber::{EnvFilter, Registry, reload::Handle};
  
  use rustup::cli::common;
- use rustup::cli::proxy_mode;
-@@ -105,13 +101,7 @@ fn maybe_trace_rustup() -> Result<utils::ExitCode> {
- 
- #[cfg_attr(feature = "otel", tracing::instrument)]
- fn run_rustup() -> Result<utils::ExitCode> {
--    if let Ok(dir) = process().var("RUSTUP_TRACE_DIR") {
+@@ -65,13 +61,7 @@ async fn run_rustup(
+     process: &Process,
+     console_filter: Handle<EnvFilter, Registry>,
+ ) -> Result<utils::ExitCode> {
+-    if let Ok(dir) = process.var("RUSTUP_TRACE_DIR") {
 -        open_trace_file!(dir)?;
 -    }
-     let result = run_rustup_inner();
--    if process().var("RUSTUP_TRACE_DIR").is_ok() {
+     let result = run_rustup_inner(process, console_filter).await;
+-    if process.var("RUSTUP_TRACE_DIR").is_ok() {
 -        close_trace_file!();
 -    }
      result
  }
  
 diff --git a/src/diskio/immediate.rs b/src/diskio/immediate.rs
-index 2bc2a5d..5818b58 100644
+index 991248bc16c9..c97d4d7b7027 100644
 --- a/src/diskio/immediate.rs
 +++ b/src/diskio/immediate.rs
-@@ -167,7 +167,6 @@ impl IncrementalFileWriter {
+@@ -166,7 +166,6 @@ impl IncrementalFileWriter {
          let path = path.as_ref();
          let path_display = format!("{}", path.display());
          let file = Some({
@@ -64,23 +64,23 @@ index 2bc2a5d..5818b58 100644
              opts.write(true).create(true).truncate(true).open(path)?
          });
          Ok(IncrementalFileWriter {
-@@ -207,11 +206,9 @@ impl IncrementalFileWriter {
-             if let Some(ref mut file) = self.file.as_mut() {
-                 // Length 0 vector is used for clean EOF signalling.
-                 if chunk.is_empty() {
--                    trace_scoped!("close", "name:": self.path_display);
-                     drop(std::mem::take(&mut self.file));
-                     state.finished = true;
-                 } else {
--                    trace_scoped!("write_segment", "name": self.path_display, "len": chunk.len());
-                     file.write_all(&chunk)?;
+@@ -208,11 +207,9 @@ impl IncrementalFileWriter {
+         };
+         // Length 0 vector is used for clean EOF signalling.
+         if chunk.is_empty() {
+-            trace_scoped!("close", "name:": self.path_display);
+             drop(std::mem::take(&mut self.file));
+             state.finished = true;
+         } else {
+-            trace_scoped!("write_segment", "name": self.path_display, "len": chunk.len());
+             file.write_all(&chunk)?;
  
-                     state.completed_chunks.push(chunk.len());
+             state.completed_chunks.push(chunk.len());
 diff --git a/src/diskio/mod.rs b/src/diskio/mod.rs
-index 156b20b..317d75e 100644
+index 0fea84dd7d07..2aa0082f4d13 100644
 --- a/src/diskio/mod.rs
 +++ b/src/diskio/mod.rs
-@@ -376,17 +376,14 @@ pub(crate) fn write_file<P: AsRef<Path>, C: AsRef<[u8]>>(
+@@ -371,17 +371,14 @@ pub(crate) fn write_file<P: AsRef<Path>, C: AsRef<[u8]>>(
      let path = path.as_ref();
      let path_display = format!("{}", path.display());
      let mut f = {
@@ -98,7 +98,7 @@ index 156b20b..317d75e 100644
          drop(f);
      }
      Ok(())
-@@ -408,7 +405,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -403,7 +400,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
      let path = path.as_ref();
      let path_display = format!("{}", path.display());
      let mut f = {
@@ -106,7 +106,7 @@ index 156b20b..317d75e 100644
          opts.write(true).create(true).truncate(true).open(path)?
      };
      if let IncrementalFile::ThreadedReceiver(recv) = content_callback {
-@@ -419,12 +415,10 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -414,12 +410,10 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
              let len = contents.len();
              // Length 0 vector is used for clean EOF signalling.
              if len == 0 {
@@ -119,7 +119,7 @@ index 156b20b..317d75e 100644
                  f.write_all(&contents)?;
                  drop(contents);
                  chunk_complete_callback(len);
-@@ -434,7 +428,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -429,7 +423,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
          unreachable!();
      }
      {
@@ -127,7 +127,7 @@ index 156b20b..317d75e 100644
          drop(f);
      }
      Ok(())
-@@ -443,7 +436,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -438,7 +431,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
  pub(crate) fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
      let path = path.as_ref();
      let path_display = format!("{}", path.display());
@@ -136,12 +136,12 @@ index 156b20b..317d75e 100644
  }
  
 diff --git a/src/lib.rs b/src/lib.rs
-index b5215ea..9c38a1c 100644
+index 08f855a42559..12d385e3308f 100644
 --- a/src/lib.rs
 +++ b/src/lib.rs
-@@ -18,9 +18,6 @@ pub(crate) use crate::utils::toml_utils;
- use anyhow::{anyhow, Result};
- use itertools::{chain, Itertools};
+@@ -14,9 +14,6 @@ use anyhow::{Result, anyhow};
+ use errors::RustupError;
+ use itertools::{Itertools, chain};
  
 -#[macro_use]
 -extern crate rs_tracing;
@@ -150,5 +150,5 @@ index b5215ea..9c38a1c 100644
  pub static TOOLS: &[&str] = &[
      "rustc",
 -- 
-2.46.0
+2.49.0
 

diff --git a/0004-Remove-unused-git-based-versioning.patch b/0004-Remove-unused-git-based-versioning.patch
index fcf3ffb..4dec232 100644
--- a/0004-Remove-unused-git-based-versioning.patch
+++ b/0004-Remove-unused-git-based-versioning.patch
@@ -1,41 +1,45 @@
-From b7a754fe32c207c33d7a58e95149cccf0903a1bf Mon Sep 17 00:00:00 2001
+From 2fe3b9866700205ef5af904a9bb9897c94fe777c Mon Sep 17 00:00:00 2001
 From: Fabio Valentini <decathorpe@gmail.com>
 Date: Thu, 23 May 2024 18:05:00 +0200
-Subject: [PATCH 4/8] Remove unused git-based versioning
+Subject: [PATCH 4/6] Remove unused git-based versioning
 
 ---
  Cargo.toml             |  1 -
- src/cli/common.rs      | 67 +-----------------------------------------
- src/cli/rustup_mode.rs |  1 -
- src/cli/setup_mode.rs  |  6 ----
- 4 files changed, 1 insertion(+), 74 deletions(-)
+ src/cli/common.rs      | 64 ++----------------------------------------
+ src/cli/rustup_mode.rs |  2 +-
+ src/cli/setup_mode.rs  |  9 ------
+ 4 files changed, 3 insertions(+), 73 deletions(-)
 
 diff --git a/Cargo.toml b/Cargo.toml
-index f7eaf10..bca0bec 100644
+index c53c9ea14aad..95821c1d93ca 100644
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -54,7 +54,6 @@ enum-map = "2.5.0"
- enum_dispatch.workspace = true
- flate2 = "1"
- fs_at.workspace = true
+@@ -50,7 +50,6 @@ enum-map = "2.5.0"
+ env_proxy = { version = "0.4.1", optional = true }
+ flate2 = { version = "1.1.1", default-features = false, features = ["zlib-rs"] }
+ fs_at = "0.2.1"
 -git-testament = "0.2"
  home = "0.5.4"
- itertools = "0.12"
+ itertools = "0.14"
  libc = "0.2"
 diff --git a/src/cli/common.rs b/src/cli/common.rs
-index f74e70b..94fd54f 100644
+index ba415f1922c0..f3b7c1c3fbc5 100644
 --- a/src/cli/common.rs
 +++ b/src/cli/common.rs
-@@ -9,8 +9,6 @@ use std::sync::Arc;
+@@ -7,11 +7,10 @@ use std::fs;
+ use std::io::ErrorKind;
+ use std::io::{BufRead, Write};
+ use std::path::{Path, PathBuf};
+-use std::sync::{Arc, LazyLock, Mutex};
++use std::sync::{Arc, Mutex};
  use std::{cmp, env};
  
- use anyhow::{anyhow, Context, Result};
+ use anyhow::{Context, Result, anyhow};
 -use git_testament::{git_testament, render_testament};
--use once_cell::sync::Lazy;
+ use tracing::{debug, error, info, trace, warn};
+ use tracing_subscriber::{EnvFilter, Registry, reload::Handle};
  
- use super::self_update;
- use crate::cli::download_tracker::DownloadTracker;
-@@ -559,71 +557,8 @@ pub(crate) fn list_overrides(cfg: &Cfg) -> Result<utils::ExitCode> {
+@@ -516,67 +515,8 @@ pub(crate) fn list_overrides(cfg: &Cfg<'_>) -> Result<utils::ExitCode> {
      Ok(utils::ExitCode(0))
  }
  
@@ -45,58 +49,54 @@ index f74e70b..94fd54f 100644
 -    // Because we trust our `stable` branch given the careful release
 -    // process, we mark it trusted here so that our version numbers look
 -    // right when built from CI before the tag is pushed
--    static RENDERED: Lazy<String> = Lazy::new(|| render_testament!(TESTAMENT, "stable"));
+-    static RENDERED: LazyLock<String> = LazyLock::new(|| render_testament!(TESTAMENT, "stable"));
 -    &RENDERED
 -}
 -
--pub(crate) fn dump_testament() -> Result<utils::ExitCode> {
+-pub(crate) fn dump_testament(process: &Process) -> Result<utils::ExitCode> {
 -    use git_testament::GitModification::*;
 -    writeln!(
--        process().stdout().lock(),
+-        process.stdout().lock(),
 -        "Rustup version renders as: {}",
 -        version()
 -    )?;
 -    writeln!(
--        process().stdout().lock(),
+-        process.stdout().lock(),
 -        "Current crate version: {}",
 -        env!("CARGO_PKG_VERSION")
 -    )?;
 -    if TESTAMENT.branch_name.is_some() {
 -        writeln!(
--            process().stdout().lock(),
+-            process.stdout().lock(),
 -            "Built from branch: {}",
 -            TESTAMENT.branch_name.unwrap()
 -        )?;
 -    } else {
--        writeln!(process().stdout().lock(), "Branch information missing")?;
+-        writeln!(process.stdout().lock(), "Branch information missing")?;
 -    }
--    writeln!(
--        process().stdout().lock(),
--        "Commit info: {}",
--        TESTAMENT.commit
--    )?;
+-    writeln!(process.stdout().lock(), "Commit info: {}", TESTAMENT.commit)?;
 -    if TESTAMENT.modifications.is_empty() {
--        writeln!(process().stdout().lock(), "Working tree is clean")?;
+-        writeln!(process.stdout().lock(), "Working tree is clean")?;
 -    } else {
 -        for fmod in TESTAMENT.modifications {
 -            match fmod {
 -                Added(f) => writeln!(
--                    process().stdout().lock(),
+-                    process.stdout().lock(),
 -                    "Added: {}",
 -                    String::from_utf8_lossy(f)
 -                )?,
 -                Removed(f) => writeln!(
--                    process().stdout().lock(),
+-                    process.stdout().lock(),
 -                    "Removed: {}",
 -                    String::from_utf8_lossy(f)
 -                )?,
 -                Modified(f) => writeln!(
--                    process().stdout().lock(),
+-                    process.stdout().lock(),
 -                    "Modified: {}",
 -                    String::from_utf8_lossy(f)
 -                )?,
 -                Untracked(f) => writeln!(
--                    process().stdout().lock(),
+-                    process.stdout().lock(),
 -                    "Untracked: {}",
 -                    String::from_utf8_lossy(f)
 -                )?,
@@ -104,39 +104,57 @@ index f74e70b..94fd54f 100644
 -        }
 -    }
 -    Ok(utils::ExitCode(0))
-+    "1.27.1"
++    "1.28.2"
  }
  
- fn show_backtrace() -> bool {
+ fn show_backtrace(process: &Process) -> bool {
 diff --git a/src/cli/rustup_mode.rs b/src/cli/rustup_mode.rs
-index 5d0096a..9e44272 100644
+index 198dee791e87..8e69d120b092 100644
 --- a/src/cli/rustup_mode.rs
 +++ b/src/cli/rustup_mode.rs
-@@ -155,7 +155,6 @@ pub fn main() -> Result<utils::ExitCode> {
+@@ -607,7 +607,7 @@ pub async fn main(
+     };
  
-     Ok(match matches.subcommand() {
-         Some(s) => match s {
--            ("dump-testament", _) => common::dump_testament()?,
-             ("show", c) => match c.subcommand() {
-                 Some(s) => match s {
-                     ("active-toolchain", m) => handle_epipe(show_active_toolchain(cfg, m))?,
+     match subcmd {
+-        RustupSubcmd::DumpTestament => common::dump_testament(process),
++        RustupSubcmd::DumpTestament => unimplemented!(),
+         RustupSubcmd::Install { opts } => update(cfg, opts, true).await,
+         RustupSubcmd::Uninstall { opts } => toolchain_remove(cfg, opts).await,
+         RustupSubcmd::Show { verbose, subcmd } => handle_epipe(match subcmd {
 diff --git a/src/cli/setup_mode.rs b/src/cli/setup_mode.rs
-index cada019..7f47d78 100644
+index 085c3f3020f2..23023b906948 100644
 --- a/src/cli/setup_mode.rs
 +++ b/src/cli/setup_mode.rs
-@@ -25,12 +25,6 @@ pub fn main() -> Result<utils::ExitCode> {
-         return self_update::self_replace();
+@@ -67,10 +67,6 @@ struct RustupInit {
+     /// Secret command used during self-update. Not for users
+     #[arg(long, hide = true)]
+     self_replace: bool,
+-
+-    /// Internal testament dump used during CI. Not for users
+-    #[arg(long, hide = true)]
+-    dump_testament: bool,
+ }
+ 
+ #[tracing::instrument(level = "trace", skip(process, console_filter))]
+@@ -93,7 +89,6 @@ pub async fn main(
+         no_update_default_toolchain,
+         no_modify_path,
+         self_replace,
+-        dump_testament,
+     } = match RustupInit::try_parse() {
+         Ok(args) => args,
+         Err(e) if [ErrorKind::DisplayHelp, ErrorKind::DisplayVersion].contains(&e.kind()) => {
+@@ -107,10 +102,6 @@ pub async fn main(
+         return self_update::self_replace(process);
      }
  
--    // Internal testament dump used during CI.  Not for users.
--    if arg1 == Some("--dump-testament") {
--        common::dump_testament()?;
--        return Ok(utils::ExitCode(0));
+-    if dump_testament {
+-        return common::dump_testament(process);
 -    }
 -
-     // NOTICE: If you change anything here, please make the same changes in rustup-init.sh
-     let cli = Command::new("rustup-init")
-         .version(common::version())
+     if profile == Profile::Complete {
+         warn!("{}", common::WARN_COMPLETE_PROFILE);
+     }
 -- 
-2.46.0
+2.49.0
 

diff --git a/0005-Add-powerpc64-and-s390x-to-known-target_arch-values-.patch b/0005-Add-powerpc64-and-s390x-to-known-target_arch-values-.patch
deleted file mode 100644
index c6d839a..0000000
--- a/0005-Add-powerpc64-and-s390x-to-known-target_arch-values-.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 98d14bf3f0d7717f9294753fc1bcdd0dc2778020 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Thu, 23 May 2024 18:11:56 +0200
-Subject: [PATCH 5/8] Add powerpc64 and s390x to known target_arch values for
- tests
-
----
- src/test.rs | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/test.rs b/src/test.rs
-index 617b765..16c18f5 100644
---- a/src/test.rs
-+++ b/src/test.rs
-@@ -140,6 +140,10 @@ pub fn this_host_triple() -> String {
-         "aarch64"
-     } else if cfg!(target_arch = "loongarch64") {
-         "loongarch64"
-+    } else if cfg!(target_arch = "powerpc64") && cfg!(target_endian = "little") {
-+        "powerpc64le"
-+    } else if cfg!(target_arch = "s390x") {
-+        "s390x"
-     } else {
-         unimplemented!()
-     };
--- 
-2.46.0
-

diff --git a/0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.patch b/0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.patch
new file mode 100644
index 0000000..35a1f83
--- /dev/null
+++ b/0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.patch
@@ -0,0 +1,48 @@
+From 6d38e34187a6a98f320e48e27045b2ce6825d46f Mon Sep 17 00:00:00 2001
+From: Josh Stone <jistone@redhat.com>
+Date: Fri, 30 May 2025 15:34:12 -0700
+Subject: [PATCH 5/6] Revert back to rustls/ring instead of aws_lc_rs
+
+---
+ Cargo.toml          | 2 +-
+ src/download/mod.rs | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 95821c1d93ca..562e7a06cf2d 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -66,7 +66,7 @@ regex = "1"
+ remove_dir_all = { version = "1.0.0", features = ["parallel"] }
+ reqwest = { version = "0.12", default-features = false, features = ["blocking", "gzip", "http2", "socks", "stream"], optional = true }
+ retry = { version = "2", default-features = false, features = ["random"] }
+-rustls = { version = "0.23", optional = true, default-features = false, features = ["logging", "aws_lc_rs", "tls12"] }
++rustls = { version = "0.23", optional = true, default-features = false, features = ["logging", "ring", "tls12"] }
+ rustls-platform-verifier = { version = "0.5", optional = true }
+ same-file = "1"
+ semver = "1.0"
+diff --git a/src/download/mod.rs b/src/download/mod.rs
+index 2333846fe1ac..36e8d1a57681 100644
+--- a/src/download/mod.rs
++++ b/src/download/mod.rs
+@@ -532,7 +532,7 @@ mod reqwest_be {
+     use anyhow::{Context, anyhow};
+     use reqwest::{Client, ClientBuilder, Proxy, Response, header};
+     #[cfg(feature = "reqwest-rustls-tls")]
+-    use rustls::crypto::aws_lc_rs;
++    use rustls::crypto::ring;
+     #[cfg(feature = "reqwest-rustls-tls")]
+     use rustls_platform_verifier::BuilderVerifierExt;
+     use tokio_stream::StreamExt;
+@@ -589,7 +589,7 @@ mod reqwest_be {
+     #[cfg(feature = "reqwest-rustls-tls")]
+     pub(super) static CLIENT_RUSTLS_TLS: LazyLock<Client> = LazyLock::new(|| {
+         let mut tls_config =
+-            rustls::ClientConfig::builder_with_provider(Arc::new(aws_lc_rs::default_provider()))
++            rustls::ClientConfig::builder_with_provider(Arc::new(ring::default_provider()))
+                 .with_safe_default_protocol_versions()
+                 .unwrap()
+                 .with_platform_verifier()
+-- 
+2.49.0
+

diff --git a/0006-temporarily-downgrade-opener-dependency-from-0.7-to-.patch b/0006-temporarily-downgrade-opener-dependency-from-0.7-to-.patch
index 1368d6f..8ff3f23 100644
--- a/0006-temporarily-downgrade-opener-dependency-from-0.7-to-.patch
+++ b/0006-temporarily-downgrade-opener-dependency-from-0.7-to-.patch
@@ -1,25 +1,25 @@
-From fdc54779e7fa1e66b9dd66b0811007d4cb0c3714 Mon Sep 17 00:00:00 2001
+From f5c9be3c26096549ab185a7c07fb611181d39627 Mon Sep 17 00:00:00 2001
 From: Fabio Valentini <decathorpe@gmail.com>
 Date: Fri, 31 May 2024 20:41:16 +0200
-Subject: [PATCH 6/8] temporarily downgrade opener dependency from 0.7 to 0.6
+Subject: [PATCH 6/6] temporarily downgrade opener dependency from 0.7 to 0.6
 
 ---
  Cargo.toml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Cargo.toml b/Cargo.toml
-index bca0bec..015d7ed 100644
+index 562e7a06cf2d..a2a81ebe6523 100644
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -58,7 +58,7 @@ home = "0.5.4"
- itertools = "0.12"
+@@ -53,7 +53,7 @@ fs_at = "0.2.1"
+ home = "0.5.4"
+ itertools = "0.14"
  libc = "0.2"
- once_cell.workspace = true
 -opener = "0.7.0"
 +opener = "0.6.0"
  # `openssl` is used by `curl` or `reqwest` backend although it isn't imported by rustup: this
  # allows controlling the vendoring status without exposing the presence of the download crate.
- # HACK: We temporarily pin the OpenSSL version due to build issues encountered in
+ openssl = { version = "0.10", optional = true }
 -- 
-2.46.0
+2.49.0
 

diff --git a/0007-bump-pulldown-cmark-dependency-from-0.10-to-0.11.patch b/0007-bump-pulldown-cmark-dependency-from-0.10-to-0.11.patch
deleted file mode 100644
index 44ef645..0000000
--- a/0007-bump-pulldown-cmark-dependency-from-0.10-to-0.11.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From baf283945cd5b8b2fed86b6cb8de8712f290b97d Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Fri, 9 Aug 2024 20:41:29 +0200
-Subject: [PATCH 7/8] bump pulldown-cmark dependency from 0.10 to 0.11
-
----
- Cargo.toml          | 2 +-
- src/cli/markdown.rs | 4 +++-
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index 015d7ed..cf34d1a 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -69,7 +69,7 @@ openssl-sys = { version = "=0.9.92", optional = true }
- opentelemetry = { workspace = true, optional = true }
- opentelemetry_sdk = { workspace = true, optional = true }
- opentelemetry-otlp = { workspace = true, optional = true }
--pulldown-cmark = { version = "0.10", default-features = false }
-+pulldown-cmark = { version = "0.11", default-features = false }
- rand = "0.8"
- regex = "1"
- remove_dir_all = { version = "0.8.1", features = ["parallel"] }
-diff --git a/src/cli/markdown.rs b/src/cli/markdown.rs
-index 67a705c..b9e3ec5 100644
---- a/src/cli/markdown.rs
-+++ b/src/cli/markdown.rs
-@@ -131,7 +131,7 @@ impl<'a> LineFormatter<'a> {
-             Tag::TableHead => {}
-             Tag::TableRow => {}
-             Tag::TableCell => {}
--            Tag::BlockQuote => {}
-+            Tag::BlockQuote(_) => {}
-             Tag::CodeBlock(_) | Tag::HtmlBlock { .. } => {
-                 self.wrapper.write_line();
-                 self.wrapper.indent += 2;
-@@ -219,6 +219,8 @@ impl<'a> LineFormatter<'a> {
-             TaskListMarker(true) => {}
-             TaskListMarker(false) => {}
-             InlineHtml(_) => {}
-+            InlineMath(_) => {}
-+            DisplayMath(_) => {}
-         }
-     }
- }
--- 
-2.46.0
-

diff --git a/0008-bump-fs_at-dependency-from-0.1-to-0.2.patch b/0008-bump-fs_at-dependency-from-0.1-to-0.2.patch
deleted file mode 100644
index 747051a..0000000
--- a/0008-bump-fs_at-dependency-from-0.1-to-0.2.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9637e3fa8e78763c281467a57a342a203fb911d1 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Fri, 9 Aug 2024 20:42:05 +0200
-Subject: [PATCH 8/8] bump fs_at dependency from 0.1 to 0.2
-
----
- Cargo.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index cf34d1a..2a1d68d 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -114,7 +114,7 @@ members = ["download", "rustup-macros"]
- [workspace.dependencies]
- anyhow = "1.0.69"
- enum_dispatch = "0.3.11"
--fs_at = "0.1.6"
-+fs_at = "0.2.1"
- once_cell = "1.18.0"
- opentelemetry = "0.22"
- opentelemetry_sdk = { version = "0.22", features = ["rt-tokio"] }
--- 
-2.46.0
-

diff --git a/rustup.spec b/rustup.spec
index f355778..5c5fa72 100644
--- a/rustup.spec
+++ b/rustup.spec
@@ -1,8 +1,11 @@
-# Generated by rust2rpm 25
+# Generated by rust2rpm 27
 %bcond_without check
 
+# prevent library files from being installed
+%global cargo_install_lib 0
+
 Name:           rustup
-Version:        1.27.1
+Version:        1.28.2
 Release:        %autorelease
 Summary:        Manage multiple rust installations with ease
 
@@ -10,20 +13,21 @@ SourceLicense:  MIT OR Apache-2.0
 # (MIT OR Apache-2.0) AND Unicode-DFS-2016
 # 0BSD OR MIT OR Apache-2.0
 # Apache-2.0
+# Apache-2.0 AND ISC AND (MIT OR Apache-2.0)
 # Apache-2.0 OR BSL-1.0
 # Apache-2.0 OR ISC OR MIT
 # Apache-2.0 OR MIT
 # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-2-Clause OR Apache-2.0 OR MIT
 # BSD-3-Clause
 # ISC
-# ISC AND MIT AND OpenSSL
 # MIT
 # MIT OR Apache-2.0
-# MIT OR Apache-2.0 OR Zlib
 # MIT OR Zlib OR Apache-2.0
+# Unicode-3.0
 # Unlicense OR MIT
-# Zlib OR Apache-2.0 OR MIT
-License:        Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND OpenSSL AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
+# Zlib
+License:        Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT)
 # LICENSE.dependencies contains a full license breakdown
 
 URL:            https://github.com/rust-lang/rustup
@@ -38,16 +42,10 @@ Patch:          0002-Drop-feature-for-statically-linking-against-vendored.patch
 Patch:          0003-Remove-unused-tracing-support.patch
 # * remove unused git-based versioning and unnecessary "git-testament" dependency
 Patch:          0004-Remove-unused-git-based-versioning.patch
-# * add powerpc64le and s390x to known target_arch values for tests
-Patch:          0005-Add-powerpc64-and-s390x-to-known-target_arch-values-.patch
+# * Revert back to rustls/ring instead of aws_lc_rs
+Patch:          0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.patch
 # * temporarily downgrade opener dependency from 0.7 to 0.6 to match cargo
 Patch:          0006-temporarily-downgrade-opener-dependency-from-0.7-to-.patch
-# * bump pulldown-cmark dependency from 0.10 to 0.11:
-#   https://github.com/rust-lang/rustup/commit/d84c907
-Patch:          0007-bump-pulldown-cmark-dependency-from-0.10-to-0.11.patch
-# * bump fs_at dependency from 0.1 to 0.2:
-#   https://github.com/rust-lang/rustup/commit/4b0f03b
-Patch:          0008-bump-fs_at-dependency-from-0.1-to-0.2.patch
 
 ExcludeArch:    %{ix86}
 

diff --git a/sources b/sources
index f8b58e6..4a7f4a9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustup-1.27.1.tar.gz) = e0494678b7117464665c2aa88165e13baf2dcfb2a33c57dc78f669533111f773724d227ee05967de427845f8633e56fdf8159c7a5b96638413710beacb115075
+SHA512 (rustup-1.28.2.tar.gz) = dc85f4551e9d3d9d105e4a5c8a7544b6944c82ca4db167a6993e1e0cea498221471b891cefc15e7f634a8528678bb8438dbddadb80a8afe19fbc69bb74817049

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-18 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 21:43 [rpms/rustup] epel10: Update to version 1.28.2; Fixes RHBZ#2349879 Josh Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox