Accepting request 1230236 from editors:tree-sitter

- disable devel package (for now)

- update to 0.23.1:
  * build: update bindings
  * fix: correct generate with strict mode
- update to 0.23.0:
  * build: update bindings
  * docs: update readme
- switch to download_files service
- add neovim links
- enable devel package

OBS-URL: https://build.opensuse.org/request/show/1230236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-haskell?expand=0&rev=3
This commit is contained in:
Ana Guerrero 2024-12-12 20:17:57 +00:00 committed by Git OBS Bridge
commit 43764ee4da
5 changed files with 35 additions and 30 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-haskell.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:26b834c25786a5b3c03b56b6bf07c2b202afc21e5864c2b92cdda742669a4686
size 1080632

View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Dec 11 23:20:52 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- disable devel package (for now)
-------------------------------------------------------------------
Wed Dec 4 22:33:46 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.1:
* build: update bindings
* fix: correct generate with strict mode
- update to 0.23.0:
* build: update bindings
* docs: update readme
- switch to download_files service
- add neovim links
- enable devel package
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 03 16:06:12 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de> Sat Aug 03 16:06:12 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

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