- Use system lua 5.4

OBS-URL: https://build.opensuse.org/package/show/utilities/yazi?expand=0&rev=4
This commit is contained in:
xtexChooser 2024-02-01 23:57:44 +00:00 committed by Git OBS Bridge
parent 513fd3e954
commit 269c2f6d98
3 changed files with 13 additions and 3 deletions

11
0001-use-system-jit.patch Normal file
View File

@ -0,0 +1,11 @@
--- yazi-plugin/Cargo.toml.orig 2024-02-02 07:53:14.641950555 +0800
+++ yazi-plugin/Cargo.toml 2024-02-02 07:53:59.589599854 +0800
@@ -19,7 +19,7 @@
crossterm = "^0"
futures = "^0"
md-5 = "^0"
-mlua = { version = "^0", features = [ "lua54", "vendored", "serialize", "macros", "async" ] }
+mlua = { version = "^0", features = [ "lua54", "serialize", "macros", "async" ] }
parking_lot = "^0"
ratatui = "^0"
serde = "^1"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90581e14e5ab679b2cdf15f8056e2249f9588450b764886a0e66e26311731898
size 1207820

View File

@ -25,8 +25,10 @@ Group: Productivity/Text/Utilities
URL: https://github.com/sxyazi/yazi
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Patch0: 0001-use-system-jit.patch
Requires: file
BuildRequires: cargo-packaging
BuildRequires: lua5.4-devel
# Override "-C debuginfo=2" from cargo-packaging, to solve rustc SIGSEGV exception:
# error: rustc interrupted by SIGSEGV, printing backtrace