mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-11 22:20:39 +00:00
fix(starship): sync with rawhide patches (#1157)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From b62e3879abe83e0b879421a023d8e944e31f00cb Mon Sep 17 00:00:00 2001
|
||||
From: madomado <madonuko@outlook.com>
|
||||
Date: Mon, 25 Mar 2024 18:33:25 +0800
|
||||
Subject: [PATCH] gix 0.61.1 -> 0.61.0
|
||||
|
||||
---
|
||||
Cargo.toml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index d98ba90..c3059c9 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -82,7 +82,7 @@ version = "1.0.4"
|
||||
version = "0.4.3"
|
||||
|
||||
[dependencies.gix]
|
||||
-version = "0.61.1"
|
||||
+version = "0.61.0"
|
||||
features = [
|
||||
"max-performance-safe",
|
||||
"revision",
|
||||
--
|
||||
2.44.0
|
||||
|
||||
@@ -1,21 +1,20 @@
|
||||
%global debug_package %{nil}
|
||||
# Generated by rust2rpm 24
|
||||
%bcond_without check
|
||||
# Generated by rust2rpm 26
|
||||
#bcond_without check
|
||||
|
||||
%global crate starship
|
||||
|
||||
Name: rust-starship
|
||||
Version: 1.18.1
|
||||
Release: 1%?dist
|
||||
Version: 1.18.2
|
||||
Release: 2%?dist
|
||||
Summary: Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
|
||||
|
||||
License: ISC
|
||||
URL: https://crates.io/crates/starship
|
||||
Source: %{crates_source}
|
||||
# Automatically generated patch to strip foreign dependencies
|
||||
Patch: starship-fix-metadata-auto.diff
|
||||
# Automatically generated patch to strip dependencies and normalize metadata
|
||||
Patch0: starship-fix-metadata-auto.diff
|
||||
|
||||
BuildRequires: rust-packaging >= 21
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkgconfig
|
||||
@@ -29,11 +28,13 @@ shell! ☄🌌️.}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
License: ISC
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE
|
||||
#license LICENSE.dependencies
|
||||
%doc README.md
|
||||
%{_bindir}/starship
|
||||
|
||||
@@ -170,14 +171,14 @@ use the "starship-battery" feature of the "%{crate}" crate.
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%autosetup -n %{crate}-%{version} -p1
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%{cargo_build}
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
%{cargo_install}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- starship-1.14.2/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ starship-1.14.2/Cargo.toml 2023-04-25T12:48:23.509565+00:00
|
||||
@@ -254,18 +254,3 @@
|
||||
--- starship-1.18.1/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ starship-1.18.1/Cargo.toml 2024-03-24T13:14:24.022475+00:00
|
||||
@@ -263,18 +263,3 @@
|
||||
]
|
||||
default-features = false
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
-version = "0.2.0"
|
||||
-
|
||||
-[target."cfg(windows)".dependencies.windows]
|
||||
-version = "0.48.0"
|
||||
-version = "0.54.0"
|
||||
-features = [
|
||||
- "Win32_Foundation",
|
||||
- "Win32_UI_Shell",
|
||||
|
||||
Reference in New Issue
Block a user