mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
@@ -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
|
||||
+
|
||||
Reference in New Issue
Block a user