17
0

2 Commits

Author SHA256 Message Date
c36b034e6e Accepting request 1229615 from editors:tree-sitter
- update to 0.24.8:
  * ci(publish): add attestations and generate parser
- update to 0.24.4:
  * ci: use permissions in both spots
- update to 0.24.2:
  * update bindings
- update to 0.24.1:
  * update bindings
- update to 0.24.0:
  * build: update bindings
  * ci: update workflows
- update to 0.23.0:
  * fix(go): correct test
  * fix: move go.mod to root dir
  * feat: expose non-escaped string literal content in the parse tree
- switch to download_files service
- add neovim links
- add a license file
- enable devel package

OBS-URL: https://build.opensuse.org/request/show/1229615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-json?expand=0&rev=3
2024-12-11 20:02:35 +00:00
Richard Rahl
a0ad920845 OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-json?expand=0&rev=1 2024-12-05 08:13:24 +00:00
5 changed files with 45 additions and 29 deletions

View File

@@ -1,18 +0,0 @@
<!-- -*- xml -*- !-->
<services>
<service name="obs_scm" mode="disabled">
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="revision">@PARENT_TAG@</param>
<param name="url">https://github.com/tree-sitter/tree-sitter-json.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">Björn Bidar &#60;bjorn.bidar@thaodan.de&#62;</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d991e2b71c0b1db8bc511b48f99e4f2281c026a6535cdd15cee38e37a2941ba0
size 35605

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acf6e8362457e819ed8b613f2ad9a0e1b621a77556c296f3abea58f7880a9213
size 39832

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Dec 4 23:03:53 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.24.8:
* ci(publish): add attestations and generate parser
- update to 0.24.4:
* ci: use permissions in both spots
- update to 0.24.2:
* update bindings
- update to 0.24.1:
* update bindings
- update to 0.24.0:
* build: update bindings
* ci: update workflows
- update to 0.23.0:
* fix(go): correct test
* fix: move go.mod to root dir
* feat: expose non-escaped string literal content in the parse tree
- switch to download_files service
- add neovim links
- add a license file
- enable devel package
-------------------------------------------------------------------
Mon Apr 29 22:02:31 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

@@ -16,15 +16,14 @@
#
%define _name json
Summary: Json grammar for tree-sitter
Name: tree-sitter-%{_name}
Version: 0.21.0
%define _name json
Name: tree-sitter-json
Version: 0.24.8
Release: 0
Summary: Json grammar for tree-sitter
License: MIT
Group: Development/Tools/Other
URL: https://github.com/tree-sitter/tree-sitter-json
Source0: %{name}-%{version}.tar.gz
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: tree-sitter
%treesitter_grammars %{_name}
@@ -32,7 +31,7 @@ BuildRequires: tree-sitter
%{summary}.
%prep
%autosetup -p1
%autosetup
%build
%treesitter_configure
@@ -40,8 +39,20 @@ BuildRequires: tree-sitter
%install
%treesitter_install
%treesitter_devel_install
#neovim stuff
install -d %{buildroot}%{_libdir}/tree_sitter
ln -s %{_libdir}/lib%{name}.so %{buildroot}%{_libdir}/tree_sitter/%{_name}.so
%files
%{treesitter_files}
%license LICENSE
%treesitter_files
%{_libdir}/tree_sitter/%{_name}.so
%if 0%{?suse_version} < 1600
%dir %{_libdir}/tree_sitter
%endif
%treesitter_devel_package
%changelog