Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tree-sitter for openSUSE:Factory 
checked in at 2024-09-18 15:26:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tree-sitter (Old)
 and      /work/SRC/openSUSE:Factory/.tree-sitter.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tree-sitter"

Wed Sep 18 15:26:42 2024 rev:13 rq:1201370 version:0.23.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/tree-sitter/tree-sitter.changes  2024-06-24 
20:51:32.712475053 +0200
+++ /work/SRC/openSUSE:Factory/.tree-sitter.new.29891/tree-sitter.changes       
2024-09-18 15:27:07.669452912 +0200
@@ -1,0 +2,25 @@
+Mon Aug 26 16:33:54 UTC 2024 - Richard Rahl <[email protected]>
+
+- update to 0.23.0:
+  * test: modernize scanner files
+  * fix: always reset to the first language when iterating over language
+  * feat(zig): update outdated path syntax
+  * feat(bindings): add query constants to python
+  * style(bindings): fix indent & line endings
+  * feat(dsl)!: support other JS runtimes
+  * feat(bindings): add node, python, swift tests 
+  * introduce tree-sitter-language crate for grammar crates to depend on
+  * refactor: remove ansi_term dependency
+  * refactor: remove difference dependency
+  * feat: add fuzz subcommand
+  * fix(wasm): update test
+  * feat(lib): add ts_query_end_byte_for_pattern
+  * fix(rust): fix new clippy warnings
+  * feat(lib): support no_std
+  * Reset language when resetting wasm store
+  * docs: clean up binding & parser lists
+  * clone wasm store engine
+  * fix(cli): dedup preceding_auxiliary_symbols
+- use of ldconfig_scriptlets, and removal of the duplicate setting of 
buildflags
+
+-------------------------------------------------------------------

Old:
----
  tree-sitter-0.22.6.tar.xz

New:
----
  tree-sitter-0.23.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tree-sitter.spec ++++++
--- /var/tmp/diff_new_pack.plYmX1/_old  2024-09-18 15:27:08.725496917 +0200
+++ /var/tmp/diff_new_pack.plYmX1/_new  2024-09-18 15:27:08.725496917 +0200
@@ -16,15 +16,14 @@
 #
 
 
-%define somajor 0
-%define libdirname tree_sitter
+%define         somajor 0_23
 Name:           tree-sitter
-Version:        0.22.6
+Version:        0.23.0
 Release:        0
 Summary:        An incremental parsing system for programming tools
 License:        GPL-2.0-only AND MIT
 URL:            https://tree-sitter.github.io/
-Source0:        
https://github.com/tree-sitter/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.xz
+Source0:        
https://github.com/tree-sitter/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        vendor.tar.zst
 Source11:       baselibs.conf
 Source20:       tree-sitter-target.py
@@ -35,7 +34,7 @@
 Source25:       treesitter_grammar.attr
 Source26:       treesitter_grammar.req
 BuildRequires:  cargo-packaging
-BuildRequires:  rust > 1.40
+BuildRequires:  rust > 1.74.1
 Requires:       lib%{name}%{somajor} = %{version}
 Requires:       nodejs
 %{?suse_build_hwcaps_libs}
@@ -55,6 +54,7 @@
 
 %package     -n lib%{name}%{somajor}
 Summary:        Asychronous I/O support library
+Obsoletes:      lib%{name}0 < %{version}
 
 %description -n lib%{name}%{somajor}
 Tree-sitter is a parser generator tool and an incremental parsing
@@ -85,19 +85,14 @@
 
 %build
 %{cargo_build}
-export CFLAGS='%{optflags}'
-export PREFIX='%{_prefix}' LIBDIR='%{_libdir}'
-%make_build
+%make_build PREFIX=%{_prefix} LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir}
 
 sh %{SOURCE24}
 
 %install
-export PREFIX='%{_prefix}' LIBDIR='%{_libdir}' INCLUDEDIR='%{_includedir}'
-%make_install
-install -p -m 0755 -D 
%{_builddir}/%{name}-%{version}/target/release/tree-sitter \
-    %{buildroot}%{_bindir}/tree-sitter
-
-find %{buildroot} -type f \( -name "*.la" -o -name "*.a" \) -delete -print
+%make_install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir} 
INCLUDEDIR=%{_includedir}
+install -p -m 0755 -D %{_builddir}/%{name}-%{version}/target/release/%{name} \
+    %{buildroot}%{_bindir}/%{name}
 
 install -Dm644 macros.treesitter %{buildroot}%{_rpmmacrodir}/macros.treesitter
 install -Dm755 %{SOURCE20} %{buildroot}%{_rpmconfigdir}/$(basename %{SOURCE20})
@@ -105,27 +100,31 @@
 install -Dm644 %{SOURCE25} %{buildroot}%{_fileattrsdir}/$(basename %{SOURCE25})
 install -Dm755 %{SOURCE26} %{buildroot}%{_rpmconfigdir}/$(basename %{SOURCE26})
 
-%post -n lib%{name}%{somajor} -p /sbin/ldconfig
+#remove .a/.la files
+find %{buildroot} -type f \( -name "*.la" -o -name "*.a" \) -delete -print
+
+# stupid workaround for "integrating" the grammars into neovim
+install -d %{buildroot}%{_libdir}/tree_sitter
 
-%postun -n lib%{name}%{somajor} -p /sbin/ldconfig
+%ldconfig_scriptlets -n lib%{name}%{somajor}
 
 %files
 %license LICENSE
 %doc README.md CONTRIBUTING.md
-%{_bindir}/tree-sitter
-%{_rpmconfigdir}/tree-sitter-target.py
+%{_bindir}/%{name}
+%{_rpmconfigdir}/%{name}-target.py
 %{_rpmmacrodir}/macros.treesitter
 %{_rpmconfigdir}/treesitter_grammar.req
 %{_fileattrsdir}/treesitter_grammar.attr
 
 %files -n lib%{name}%{somajor}
 %license LICENSE
-%{_libdir}/*.so.*
+%{_libdir}/lib%{name}.so.*
+%dir %{_libdir}/tree_sitter
 
 %files devel
 %doc docs/
-%dir %{_includedir}/%{libdirname}/
-%{_includedir}/%{libdirname}/*
-%{_libdir}/*.so
-%{_libdir}/pkgconfig/*.pc
+%{_includedir}/tree_sitter
+%{_libdir}/lib%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.plYmX1/_old  2024-09-18 15:27:08.757498251 +0200
+++ /var/tmp/diff_new_pack.plYmX1/_new  2024-09-18 15:27:08.761498418 +0200
@@ -1,9 +1,8 @@
 <services>
   <service name="download_files" mode="manual" />
   <service name="cargo_vendor" mode="manual">
-     <param name="srctar">tree-sitter-*.tar.xz</param>
+     <param name="srctar">tree-sitter-*.tar.gz</param>
      <param name="update">true</param>
   </service>
-  <service name="cargo_audit" mode="manual" />
 </services>
 

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.plYmX1/_old  2024-09-18 15:27:08.781499251 +0200
+++ /var/tmp/diff_new_pack.plYmX1/_new  2024-09-18 15:27:08.785499418 +0200
@@ -1,2 +1,2 @@
-libtree-sitter0
+libtree-sitter0_23
 

++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/tree-sitter/vendor.tar.zst 
/work/SRC/openSUSE:Factory/.tree-sitter.new.29891/vendor.tar.zst differ: char 
173977, line 747

Reply via email to