[packages/tree-sitter-bash] - updated to 0.25.1, unified

qboosh qboosh at pld-linux.org
Sun Jan 18 20:18:20 CET 2026


commit a3f2c916f0565ec2d7f59670c6c0ced35f94daec
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jan 18 20:18:21 2026 +0100

    - updated to 0.25.1, unified

 tree-sitter-bash.spec | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/tree-sitter-bash.spec b/tree-sitter-bash.spec
index d5fb2db..a16b854 100644
--- a/tree-sitter-bash.spec
+++ b/tree-sitter-bash.spec
@@ -1,42 +1,50 @@
 Summary:	Bash grammar for tree-sitter
+Summary(pl.UTF-8):	Gramatyka Basha dla biblioteki Tree-sitter
 Name:		tree-sitter-bash
-Version:	0.23.3
+Version:	0.25.1
 Release:	1
 License:	MIT
 Group:		Libraries
+#Source0Download: https://github.com/tree-sitter/tree-sitter-bash/releases
 Source0:	https://github.com/tree-sitter/tree-sitter-bash/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	6b8a688964e897259112f320fc8b0dfe
+# Source0-md5:	97bcbab21f49b375bcf9e6834235f3ee
 URL:		https://github.com/tree-sitter/tree-sitter-bash
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		ts_bash_soname	libtree-sitter-bash.so.0
+%define		soname_ver	0
 
 %description
 Bash grammar for tree-sitter.
 
+%description -l pl.UTF-8
+Gramatyka Basha dla tree-sittera.
+
 %package -n neovim-parser-bash
 Summary:	Bash parser for Neovim
+Summary(pl.UTF-8):	Analizator składni Basha dla Neovima
 Group:		Applications/Editors
 Requires:	%{name} = %{version}-%{release}
 
 %description -n neovim-parser-bash
 Bash parser for Neovim.
 
+%description -n neovim-parser-bash -l pl.UTF-8
+Analizator składni Basha dla Neovima.
+
 %prep
 %setup -q
 
 %build
-%{__cc} %{rpmcppflags} %{rpmcflags} -fPIC -shared -Wl,-soname,%{ts_bash_soname} src/*.c -o libtree-sitter-bash.so.%{version} %{rpmldflags}
+%{__cc} %{rpmldflags} %{rpmcppflags} %{rpmcflags} -fPIC -shared -Wl,-soname,libtree-sitter-bash.so.%{soname_ver} src/*.c -o libtree-sitter-bash.so.%{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_libdir}/nvim/parser}
 
 cp -p libtree-sitter-bash.so.%{version} $RPM_BUILD_ROOT%{_libdir}
-%{__ln_s} libtree-sitter-bash.so.%{version} $RPM_BUILD_ROOT%{_libdir}/%{ts_bash_soname}
+%{__ln_s} libtree-sitter-bash.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtree-sitter-bash.so.%{soname_ver}
 
-%{__ln_s} %{_libdir}/%{ts_bash_soname} $RPM_BUILD_ROOT%{_libdir}/nvim/parser/bash.so
+%{__ln_s} %{_libdir}/libtree-sitter-bash.so.%{soname_ver} $RPM_BUILD_ROOT%{_libdir}/nvim/parser/bash.so
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,8 +55,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc LICENSE README.md
-%attr(755,root,root) %{_libdir}/libtree-sitter-bash.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/%{ts_bash_soname}
+%{_libdir}/libtree-sitter-bash.so.*.*
+%ghost %{_libdir}/libtree-sitter-bash.so.%{soname_ver}
 
 %files -n neovim-parser-bash
 %defattr(644,root,root,755)
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list