fix: starship (#11758) (#11760)

remove old ancient cargo2rpm-generated Windows patch because its no
longer relevant

(cherry picked from commit b2a7a8ff98)

Co-authored-by: Pornpipat Popum <cappy@cappuchino.xyz>
This commit is contained in:
Raboneko
2026-04-29 09:20:18 -05:00
committed by GitHub
parent 5d6fd9b2ae
commit 5d10ec08fe
2 changed files with 0 additions and 31 deletions
@@ -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
@@ -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"