[packages/tree-sitter] make abi P: per language

atler atler at pld-linux.org
Sun Jan 18 19:17:53 CET 2026


commit dfc9ca2c4391d1eb56c20b4611bce652dc6a20f5
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jan 18 19:13:16 2026 +0100

    make abi P: per language
    
    each language appears to compile its own tree-sitter copy instead of
    linking to a common shared library. name P: <lang>-tree-sitter to follow
    upstream convention of calling bindings <lang>-tree-sitter while
    individual parsers are called tree-sitter-<lang>

 tree-sitter.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tree-sitter.spec b/tree-sitter.spec
index dfdf299..f96343a 100644
--- a/tree-sitter.spec
+++ b/tree-sitter.spec
@@ -29,7 +29,7 @@ BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 %endif
 %{lua:for abi=tonumber(macros.min_api_ver),tonumber(macros.max_api_ver) do
-print("Provides:\ttree-sitter(abi)"..rpm.expand("%{?_isa}").." = "..abi.."\n")
+print("Provides:\tc-tree-sitter(abi)"..rpm.expand("%{?_isa}").." = "..abi.."\n")
 end}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tree-sitter.git/commitdiff/dfc9ca2c4391d1eb56c20b4611bce652dc6a20f5



More information about the pld-cvs-commit mailing list