Skip to content

Commit

Permalink
fix: starship (#1252)
Browse files Browse the repository at this point in the history
* fix: starship

* deps

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
(cherry picked from commit 61f44cf)
  • Loading branch information
madonuko authored and raboneko committed May 16, 2024
1 parent 4f25a53 commit 3e8b759
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions anda/langs/rust/starship/rust-starship.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

Name: rust-starship
Version: 1.19.0
Release: 1%?dist
Release: %autorelease
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 dependencies and normalize metadata
Patch0: starship-fix-metadata-auto.diff
Patch: starship-fix-metadata-auto.diff

BuildRequires: cargo-rpm-macros >= 24
BuildRequires: anda-srpm-macros
Expand Down Expand Up @@ -175,10 +175,10 @@ use the "starship-battery" feature of the "%{crate}" crate.
%cargo_prep_online

%build
%{cargo_build}
%cargo_build

%install
%{cargo_install}
%cargo_install

%if %{with check}
%check
Expand Down
6 changes: 3 additions & 3 deletions anda/langs/rust/starship/starship-fix-metadata-auto.diff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- 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
--- starship-1.19.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ starship-1.19.0/Cargo.toml 2024-05-16T10:47:19.540098+00:00
@@ -263,18 +263,3 @@
]
default-features = false
Expand All @@ -8,7 +8,7 @@
-version = "0.2.0"
-
-[target."cfg(windows)".dependencies.windows]
-version = "0.54.0"
-version = "0.56.0"
-features = [
- "Win32_Foundation",
- "Win32_UI_Shell",
Expand Down

0 comments on commit 3e8b759

Please sign in to comment.