Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tree-sitter-javascript for 
openSUSE:Factory checked in at 2026-08-21 16:52:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tree-sitter-javascript (Old)
 and      /work/SRC/openSUSE:Factory/.tree-sitter-javascript.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tree-sitter-javascript"

Fri Aug 21 16:52:26 2026 rev:6 rq:1372190 version:0.23.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/tree-sitter-javascript/tree-sitter-javascript.changes
    2026-02-27 17:10:35.321805944 +0100
+++ 
/work/SRC/openSUSE:Factory/.tree-sitter-javascript.new.1258/tree-sitter-javascript.changes
  2026-08-21 16:53:31.482405421 +0200
@@ -1,0 +2,13 @@
+Thu Aug 20 08:51:19 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Convert the Python binding to the shared
+  %treesitter_python_build/_install macros with the singlespec
+  python_subpackage_only template; binary package names are
+  unchanged
+- Drop tree-sitter-javascript-rpmlintrc: the macros no longer
+  install the binding.c source file the filter existed for
+- Suggests python-tree-sitter instead of Requires, matching
+  tree-sitter-bash, so ring1 installcheck does not demand a
+  non-ring package
+
+-------------------------------------------------------------------

Old:
----
  tree-sitter-javascript-rpmlintrc

New:
----
  _scmsync.obsinfo
  build.specials.obscpio

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

Other differences:
------------------
++++++ tree-sitter-javascript.spec ++++++
--- /var/tmp/diff_new_pack.Z4v4JM/_old  2026-08-21 16:53:32.334435728 +0200
+++ /var/tmp/diff_new_pack.Z4v4JM/_new  2026-08-21 16:53:32.335435764 +0200
@@ -16,10 +16,8 @@
 #
 
 
-%define         _name javascript
 %define         python_subpackage_only 1
-%define         python_libname tree_sitter_javascript
-%{?sle15_python_module_pythons}
+%define         _name javascript
 Name:           tree-sitter-javascript
 Version:        0.23.1
 Release:        0
@@ -27,25 +25,27 @@
 License:        MIT
 URL:            https://github.com/tree-sitter/tree-sitter-javascript
 Source0:        %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Source99:       tree-sitter-javascript-rpmlintrc
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRequires:  tree-sitter
-%treesitter_grammars %{_name}
-
-%description
-%{summary}.
-
-%package -n python-tree-sitter-javascript
-Summary:        Python bindings for JavaScript TS grammar
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module installer}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
-BuildRequires:  python-rpm-macros
-BuildRequires:  fdupes
+%treesitter_grammars %{_name}
 %python_subpackages
 
-%description -n python-tree-sitter-javascript
-Python bindings for the JavaScript grammar for tree-sitter.
+%description
+%{summary}.
+
+%package -n python-%{name}
+Summary:        Python binding for the %{name} grammar
+Suggests:       python-tree-sitter
+
+%description -n python-%{name}
+The tree_sitter_* Python module for the %{name} grammar, loadable
+with the Language()/Parser() API from python-tree-sitter.
 
 %prep
 %autosetup -p1
@@ -53,15 +53,12 @@
 %build
 %treesitter_configure
 %treesitter_build
-%pyproject_wheel
+%treesitter_python_build
 
 %install
 %treesitter_install
 %treesitter_devel_install
-%pyproject_install
-
-
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%treesitter_python_install
 
 %files
 %license LICENSE
@@ -70,14 +67,6 @@
 %treesitter_devel_package
 
 %files %{python_files %{name}}
-%dir %{python_sitearch}/%{python_libname}
-%dir %{python_sitearch}/%{python_libname}/queries
-%pycache_only %{python_sitearch}/%{python_libname}/__pycache__
-%{python_sitearch}/%{python_libname}/__init__.py
-%{python_sitearch}/%{python_libname}/__init__.pyi
-%{python_sitearch}/%{python_libname}/_binding.abi3.so
-%{python_sitearch}/%{python_libname}/binding.c
-%{python_sitearch}/%{python_libname}/py.typed
-%{python_sitearch}/%{python_libname}/queries/*.scm
-%{python_sitearch}/%{python_libname}-%{version}.dist-info
+%license LICENSE
+%{python_sitearch}/tree_sitter_*
 

++++++ _scmsync.obsinfo ++++++
mtime: 1787216444
commit: c51e1144ae9eef9436f90dccc0dc546be983b3fcf217b91d39c197c916a74d39
url: https://src.opensuse.org/tree-sitter/tree-sitter-javascript
revision: c51e1144ae9eef9436f90dccc0dc546be983b3fcf217b91d39c197c916a74d39
projectscmsync: https://src.opensuse.org/tree-sitter/_ObsPrj

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-08-20 11:00:44.000000000 +0200
@@ -0,0 +1,4 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild

Reply via email to