fix (topgrade): remove patch (#10359) (#10369)

This commit is contained in:
Raboneko
2026-03-07 11:57:00 -08:00
committed by GitHub
parent b1b8a6a187
commit 191cfe053d
2 changed files with 1 additions and 36 deletions
+1 -3
View File
@@ -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
@@ -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
+