From 82b52b9b79949b19105de179a792a9e7692ba3fd Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 7 Mar 2026 11:56:44 -0800 Subject: [PATCH] fix (topgrade): remove patch (#10359) (#10368) --- anda/tools/topgrade/rust-topgrade.spec | 4 +-- .../topgrade/topgrade-fix-metadata-auto.diff | 33 ------------------- 2 files changed, 1 insertion(+), 36 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 7ea82cc91e..a6f3b9281f 100644 --- a/anda/tools/topgrade/rust-topgrade.spec +++ b/anda/tools/topgrade/rust-topgrade.spec @@ -12,7 +12,6 @@ License: ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache 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 @@ -35,7 +34,6 @@ Summary: %{summary} %files -n %{crate} %license LICENSE %license LICENSE.dependencies -%doc BREAKINGCHANGES.md %doc CHANGELOG.md %doc CODE_OF_CONDUCT.md %doc CONTRIBUTING.md @@ -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 e966ffada5..0000000000 --- a/anda/tools/topgrade/topgrade-fix-metadata-auto.diff +++ /dev/null @@ -1,33 +0,0 @@ ---- topgrade-16.9.0/Cargo.toml 2006-07-24T01:21:28+00:00 -+++ topgrade-16.9.0/Cargo.toml 2026-02-13T07:55:20.141538+00:00 -@@ -255,29 +255,6 @@ - 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" -- - [profile.release] - lto = true -+