fix: topgrade

This fails every time it bumps because of this patch lol

Signed-off-by: Owen-sz <owen@fyralabs.com>
This commit is contained in:
Owen-sz
2026-02-13 02:00:27 -06:00
parent fe043c50ec
commit a2ce311ecb
2 changed files with 1 additions and 32 deletions
+1 -3
View File
@@ -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
@@ -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"