Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

5 changed files with 30 additions and 35 deletions

18
_service Normal file
View File

@ -0,0 +1,18 @@
<!-- -*- 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

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

View File

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

View File

@ -1,21 +1,3 @@
-------------------------------------------------------------------
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>

View File

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