- Lock dependencies from being updated when packaging

Updating deps when vendoring causes build errors

OBS-URL: https://build.opensuse.org/package/show/utilities/yazi?expand=0&rev=22
This commit is contained in:
xtexChooser 2024-03-30 08:10:13 +00:00 committed by Git OBS Bridge
parent 1d4f59e62e
commit 55710f68b2
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Mar 30 08:06:11 UTC 2024 - xtexChooser <xtexchooser@duck.com>
- Lock dependencies from being updated when packaging
Updating deps when vendoring causes build errors
-------------------------------------------------------------------
Sat Mar 23 12:01:07 UTC 2024 - xtexchooser@duck.com

View File

@ -34,7 +34,7 @@ BuildRequires: lua54-devel
# 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
#%global build_rustflags %build_rustflags -C debuginfo=0
# Suggests: nerd-fonts
Suggests: ffmpegthumbnailer
@ -100,9 +100,9 @@ export YAZI_GEN_COMPLETIONS=true
%install
%{cargo_install -p yazi-fm}
install -Dm 644 yazi-config/completions/yazi.bash %{buildroot}%{_datadir}/bash-completion/completions/yazi
install -Dm 644 yazi-config/completions/yazi.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/yazi.fish
install -Dm 644 yazi-config/completions/_yazi %{buildroot}%{_datadir}/zsh/site-functions/_yazi
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
install -Dm 644 yazi-boot/completions/_yazi %{buildroot}%{_datadir}/zsh/site-functions/_yazi
%check
%{cargo_test}