From 5d10ec08fed5c100a7560232e593df645762bad0 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 29 Apr 2026 09:20:18 -0500 Subject: [PATCH] fix: starship (#11758) (#11760) remove old ancient cargo2rpm-generated Windows patch because its no longer relevant (cherry picked from commit b2a7a8ff9865ccd27b4bc76459217e71794661c9) Co-authored-by: Pornpipat Popum --- anda/langs/rust/starship/rust-starship.spec | 2 -- .../starship/starship-fix-metadata-auto.diff | 29 ------------------- 2 files changed, 31 deletions(-) delete mode 100644 anda/langs/rust/starship/starship-fix-metadata-auto.diff diff --git a/anda/langs/rust/starship/rust-starship.spec b/anda/langs/rust/starship/rust-starship.spec index 0c25c57e83..aa56d96d89 100644 --- a/anda/langs/rust/starship/rust-starship.spec +++ b/anda/langs/rust/starship/rust-starship.spec @@ -11,8 +11,6 @@ Summary: Minimal, blazing-fast, and infinitely customizable prompt for an License: ISC URL: https://crates.io/crates/starship Source: %{crates_source} -# Automatically generated patch to strip dependencies and normalize metadata -Patch: starship-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 BuildRequires: anda-srpm-macros diff --git a/anda/langs/rust/starship/starship-fix-metadata-auto.diff b/anda/langs/rust/starship/starship-fix-metadata-auto.diff deleted file mode 100644 index ce9f689d72..0000000000 --- a/anda/langs/rust/starship/starship-fix-metadata-auto.diff +++ /dev/null @@ -1,29 +0,0 @@ ---- a/Cargo.toml 2025-04-27 10:52:14.000000000 -0500 -+++ b/Cargo.toml 2025-04-27 12:39:59.385400385 -0500 -@@ -265,22 +265,6 @@ - ] - default-features = false - --[target."cfg(windows)".dependencies.deelevate] --version = "0.2.0" -- --[target."cfg(windows)".dependencies.windows] --version = "0.61.0" --features = [ -- "Win32_Foundation", -- "Win32_UI_Shell", -- "Win32_Security", -- "Win32_System_Threading", -- "Win32_Storage_FileSystem", --] -- --[target."cfg(windows)".build-dependencies.winres] --version = "0.1.12" -- - [profile.bench] - lto = "thin" - codegen-units = 16 - [dev-dependencies] - mockall = "0.13.1" - tempfile = "3.19.1" -