Script 'mail_helper' called by obssrc
Hello community,

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

Package is "tree-sitter-c-sharp"

Fri Aug 21 16:52:22 2026 rev:7 rq:1372186 version:0.23.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/tree-sitter-c-sharp/tree-sitter-c-sharp.changes  
2026-05-04 12:55:35.782614175 +0200
+++ 
/work/SRC/openSUSE:Factory/.tree-sitter-c-sharp.new.1258/tree-sitter-c-sharp.changes
        2026-08-21 16:53:25.824204154 +0200
@@ -1,0 +2,10 @@
+Thu Aug 20 08:48:28 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Build the upstream Python binding as pythonXYZ flavor
+  subpackages: the shared %treesitter_python_build/_install
+  macros plus the singlespec python_subpackage_only template
+- Suggests python-tree-sitter instead of Requires, matching
+  tree-sitter-bash, so ring1 installcheck does not demand a
+  non-ring package
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ tree-sitter-c-sharp.spec ++++++
--- /var/tmp/diff_new_pack.DVp8iy/_old  2026-08-21 16:53:27.330257725 +0200
+++ /var/tmp/diff_new_pack.DVp8iy/_new  2026-08-21 16:53:27.335257903 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%define python_subpackage_only 1
 %define         _name c-sharp
 Name:           tree-sitter-c-sharp
 Version:        0.23.5
@@ -24,22 +25,40 @@
 License:        MIT
 URL:            https://github.com/tree-sitter/tree-sitter-c-sharp
 Source0:        %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRequires:  tree-sitter
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module installer}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 %treesitter_grammars %{_name}
+%python_subpackages
 
 %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
 
 %build
 %treesitter_configure
 %treesitter_build
+%treesitter_python_build
 
 %install
 %treesitter_install
 %treesitter_devel_install
+%treesitter_python_install
 
 %files
 %license LICENSE
@@ -47,3 +66,7 @@
 
 %treesitter_devel_package
 
+%files %{python_files %{name}}
+%license LICENSE
+%{python_sitearch}/tree_sitter_*
+

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.DVp8iy/_old  2026-08-21 16:53:27.402260287 +0200
+++ /var/tmp/diff_new_pack.DVp8iy/_new  2026-08-21 16:53:27.406260429 +0200
@@ -1,6 +1,6 @@
-mtime: 1777571326
-commit: 75f1c551fb9266b1aa52249b4e50ffeb4ed43494ea8686b04a70b7db1b2c8f3c
+mtime: 1787216315
+commit: b71453f5785189ad8b478d4b06a1ec664cb9c57a61b08d63ba02f22a8d04691a
 url: https://src.opensuse.org/tree-sitter/tree-sitter-c-sharp
-revision: 75f1c551fb9266b1aa52249b4e50ffeb4ed43494ea8686b04a70b7db1b2c8f3c
+revision: b71453f5785189ad8b478d4b06a1ec664cb9c57a61b08d63ba02f22a8d04691a
 projectscmsync: https://src.opensuse.org/tree-sitter/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ 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 10:58:35.000000000 +0200
@@ -0,0 +1,4 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild

Reply via email to