https://bugzilla.redhat.com/show_bug.cgi?id=2273973
--- Comment #7 from Peter Oliver mavit@mavit.org.uk --- Thanks for the review.
(In reply to Jerry James from comment #4)
It should be noted that, unless one has tree-sitter-srpm-macros installed, this happens: ... error: line 7: Unknown buildsystem: tree_sitter
From Fedora 42, tree-sitter-srpm-macros is pulled in by redhat-rpm-macros, so this niggle should go away in time.
Also, the Spec URL above seems to point to a different spec file than the one in the SRPM.
It looks like Copr has mangled the SRPM to handle %autorelease and %autochangelog. Here it is raw:
SRPM URL: https://mavit.fedorapeople.org/rpm/tree-sitter-json-0.24.8-1.fc43.src.rpm
(In reply to Jerry James from comment #6)
- The devel subpackage installs a file into /usr/include/tree_sitter, but
does not own the directory. The devel subpackage should either own that directory, or have "Requires: libtree-sitter-devel", to add a dependency on the existing package that owns the directory.
This should be fixed by tree-sitter-srpm-macros 0.2.2, which is currently building for rawhide...