From c30b0188fd61f0013acbc09c89745e2ee3652b61ded045d50f71e5d2fe104fce Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Thu, 5 Dec 2024 08:13:22 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-haskell?expand=0&rev=1 --- tree-sitter-haskell-0.23.1.tar.gz | 3 +++ tree-sitter-haskell.changes | 13 +++++++++++++ tree-sitter-haskell.spec | 26 +++++++++++++++++--------- 3 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 tree-sitter-haskell-0.23.1.tar.gz diff --git a/tree-sitter-haskell-0.23.1.tar.gz b/tree-sitter-haskell-0.23.1.tar.gz new file mode 100644 index 0000000..a6b43e3 --- /dev/null +++ b/tree-sitter-haskell-0.23.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bac7d0a37730af62d883e2bdbafb68f47e7ab4f5e744c7586bffc589906a8cc2 +size 1008575 diff --git a/tree-sitter-haskell.changes b/tree-sitter-haskell.changes index efff144..7029ef8 100644 --- a/tree-sitter-haskell.changes +++ b/tree-sitter-haskell.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Dec 4 22:33:46 UTC 2024 - Richard Rahl + +- 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 diff --git a/tree-sitter-haskell.spec b/tree-sitter-haskell.spec index 1953075..aeee9f9 100644 --- a/tree-sitter-haskell.spec +++ b/tree-sitter-haskell.spec @@ -16,15 +16,14 @@ # -%define _name haskell -Summary: Haskell grammar for tree-sitter -Name: tree-sitter-%{_name} -Version: 0.21.0 +%define _name haskell +Name: tree-sitter-haskell +Version: 0.23.1 Release: 0 +Summary: Haskell grammar for tree-sitter License: MIT -Group: Development/Tools/Other 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 %treesitter_grammars %{_name} @@ -32,7 +31,7 @@ BuildRequires: tree-sitter %{summary}. %prep -%autosetup -p1 +%autosetup %build %treesitter_configure @@ -40,11 +39,20 @@ BuildRequires: tree-sitter %install %treesitter_install +%treesitter_devel_install -%check +#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 From caf62c04f0d8c19121b7ecb2858de1eb71ab130e7bd546103a434643f25ac4d9 Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Wed, 11 Dec 2024 23:35:27 +0000 Subject: [PATCH 2/2] remove devel OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-haskell?expand=0&rev=2 --- tree-sitter-haskell.changes | 5 +++++ tree-sitter-haskell.spec | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tree-sitter-haskell.changes b/tree-sitter-haskell.changes index 7029ef8..a841f8e 100644 --- a/tree-sitter-haskell.changes +++ b/tree-sitter-haskell.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 11 23:20:52 UTC 2024 - Richard Rahl + +- disable devel package (for now) + ------------------------------------------------------------------- Wed Dec 4 22:33:46 UTC 2024 - Richard Rahl diff --git a/tree-sitter-haskell.spec b/tree-sitter-haskell.spec index aeee9f9..5eb7c3e 100644 --- a/tree-sitter-haskell.spec +++ b/tree-sitter-haskell.spec @@ -39,7 +39,6 @@ BuildRequires: tree-sitter %install %treesitter_install -%treesitter_devel_install #neovim stuff install -d %{buildroot}%{_libdir}/tree_sitter @@ -53,6 +52,4 @@ ln -s %{_libdir}/lib%{name}.so %{buildroot}%{_libdir}/tree_sitter/%{_name}.so %dir %{_libdir}/tree_sitter %endif -%treesitter_devel_package - %changelog