- Fix ripgrep depends
OBS-URL: https://build.opensuse.org/package/show/utilities/yazi?expand=0&rev=24
This commit is contained in:
parent
6c7d448f8d
commit
474b54e6bf
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 30 23:12:22 UTC 2024 - xtexChooser <xtexchooser@duck.com>
|
||||
|
||||
- Fix ripgrep depends
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 30 08:06:11 UTC 2024 - xtexChooser <xtexchooser@duck.com>
|
||||
|
||||
|
11
yazi.spec
11
yazi.spec
@ -30,19 +30,12 @@ Requires: file
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: lua54-devel
|
||||
|
||||
# Override "-C debuginfo=2" from cargo-packaging, to solve rustc SIGSEGV exception:
|
||||
# error: rustc interrupted by SIGSEGV, printing backtrace
|
||||
# /usr/lib/librustc_driver-16d66626a1fefc07.so(+0x7aafa6)[0x7fbd6ffaafa6]
|
||||
# Tested with rustc 1.75.0 (82e1608df 2023-12-21) by xtexChooser
|
||||
#%global build_rustflags %build_rustflags -C debuginfo=0
|
||||
|
||||
# Suggests: nerd-fonts
|
||||
Suggests: ffmpegthumbnailer
|
||||
Suggests: unar
|
||||
Suggests: jq
|
||||
Suggests: poppler
|
||||
Suggests: fd
|
||||
Suggests: rg
|
||||
Suggests: ripgrep
|
||||
Suggests: fzf
|
||||
Suggests: zoxide
|
||||
|
||||
@ -96,9 +89,11 @@ The official zsh completion script for %{name}.
|
||||
|
||||
%build
|
||||
export YAZI_GEN_COMPLETIONS=true
|
||||
export VERGEN_GIT_SHA='OpenSUSE'
|
||||
%{cargo_build}
|
||||
|
||||
%install
|
||||
export VERGEN_GIT_SHA='OpenSUSE'
|
||||
%{cargo_install -p yazi-fm}
|
||||
install -Dm 644 yazi-boot/completions/yazi.bash %{buildroot}%{_datadir}/bash-completion/completions/yazi
|
||||
install -Dm 644 yazi-boot/completions/yazi.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/yazi.fish
|
||||
|
Loading…
x
Reference in New Issue
Block a user