From a2ce311ecb38d92bcc9266a94b86808f6f3e71bb Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Fri, 13 Feb 2026 02:00:27 -0600 Subject: [PATCH] fix: topgrade This fails every time it bumps because of this patch lol Signed-off-by: Owen-sz --- anda/tools/topgrade/rust-topgrade.spec | 4 +-- .../topgrade/topgrade-fix-metadata-auto.diff | 29 ------------------- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 anda/tools/topgrade/topgrade-fix-metadata-auto.diff diff --git a/anda/tools/topgrade/rust-topgrade.spec b/anda/tools/topgrade/rust-topgrade.spec index 912c8fee91..e135616957 100644 --- a/anda/tools/topgrade/rust-topgrade.spec +++ b/anda/tools/topgrade/rust-topgrade.spec @@ -11,8 +11,6 @@ SourceLicense: GPL-3.0-or-later License: ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND GPL-3.0 AND GPL-3.0-only AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) URL: https://crates.io/crates/topgrade Source: %crates_source -# Automatically generated patch to strip dependencies and normalize metadata -Patch: topgrade-fix-metadata-auto.diff BuildRequires: cargo BuildRequires: rust @@ -45,7 +43,7 @@ Summary: %{summary} %{_bindir}/topgrade %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version} %cargo_prep_online %build diff --git a/anda/tools/topgrade/topgrade-fix-metadata-auto.diff b/anda/tools/topgrade/topgrade-fix-metadata-auto.diff deleted file mode 100644 index 81dea9f7f0..0000000000 --- a/anda/tools/topgrade/topgrade-fix-metadata-auto.diff +++ /dev/null @@ -1,29 +0,0 @@ ---- topgrade-16.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ topgrade-16.8.0/Cargo.toml 2026-01-26T14:29:43.890964+00:00 -@@ -258,26 +258,3 @@ - default-features = false - package = "self_update" - --[target."cfg(windows)".dependencies.is_elevated] --version = "~0.1" -- --[target."cfg(windows)".dependencies.parselnk] --version = "~0.1" -- --[target."cfg(windows)".dependencies.self_update_crate] --version = "~0.42" --features = [ -- "archive-zip", -- "compression-zip-deflate", -- "rustls", --] --optional = true --default-features = false --package = "self_update" -- --[target."cfg(windows)".dependencies.windows] --version = "~0.62" --features = ["Win32_System_Console"] -- --[target."cfg(windows)".dependencies.windows-registry] --version = "~0.6"