Disable libtree-sitter
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
f3f00165dc
commit
86db569746
14
emacs.spec
14
emacs.spec
@ -92,7 +92,9 @@ BuildRequires: libpng-devel
|
||||
BuildRequires: librsvg2-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libtiff-devel
|
||||
%ifnarch riscv64
|
||||
BuildRequires: libtree-sitter-devel
|
||||
%endif
|
||||
BuildRequires: libwebp-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: m17n-lib-devel
|
||||
@ -242,7 +244,9 @@ Provides: emacs-transient = 0.3.7
|
||||
Obsoletes: emacs-transient < 0.3.0-4
|
||||
|
||||
# https://github.com/tree-sitter/tree-sitter/issues/3296
|
||||
%ifnarch riscv64
|
||||
Requires: libtree-sitter >= 0.22.5
|
||||
%endif
|
||||
|
||||
# Ideally, we'd package all tree-sitter parsers as RPMs, but, in the
|
||||
# meantime, we need the following packages for
|
||||
@ -251,7 +255,9 @@ Requires: libtree-sitter >= 0.22.5
|
||||
Recommends: ((gcc and gcc-c++) or clang)
|
||||
Recommends: /usr/bin/git
|
||||
|
||||
%ifnarch riscv64
|
||||
Recommends: libtree-sitter-java
|
||||
%endif
|
||||
|
||||
%description common
|
||||
%desc
|
||||
@ -326,7 +332,7 @@ ln -s ../configure .
|
||||
--with-rsvg \
|
||||
--with-sqlite3 \
|
||||
--with-tiff \
|
||||
--with-tree-sitter \
|
||||
--without-tree-sitter \
|
||||
--with-webp \
|
||||
--with-x-toolkit=lucid \
|
||||
--with-xft \
|
||||
@ -346,7 +352,7 @@ ln -s ../configure .
|
||||
--with-modules \
|
||||
--with-native-compilation=aot \
|
||||
--with-sqlite3 \
|
||||
--with-tree-sitter \
|
||||
--without-tree-sitter \
|
||||
%if %{without gpm}
|
||||
--with-gpm=no \
|
||||
%endif
|
||||
@ -375,7 +381,7 @@ ln -s ../configure .
|
||||
--with-rsvg \
|
||||
--with-sqlite3 \
|
||||
--with-tiff \
|
||||
--with-tree-sitter \
|
||||
--without-tree-sitter \
|
||||
--with-webp \
|
||||
--with-x-toolkit=gtk3 \
|
||||
--with-xinput2 \
|
||||
@ -404,7 +410,7 @@ ln -s ../configure .
|
||||
--with-rsvg \
|
||||
--with-sqlite3 \
|
||||
--with-tiff \
|
||||
--with-tree-sitter \
|
||||
--without-tree-sitter \
|
||||
--with-webp \
|
||||
--with-xpm
|
||||
%{setarch} %make_build bootstrap
|
||||
|
Loading…
Reference in New Issue
Block a user