Name: tree-sitter-srpm-macros Version: 0.1.0 Release: %autorelease Summary: RPM macros for Tree-sitter parsers License: MIT Source0: README.md Source1: macros.tree_sitter BuildArch: noarch %description RPM macros for building packages for Tree-sitter parsers. %install install -Dp -m u=rw,go=r %SOURCE0 %{buildroot}%{_pkgdocdir}/%{basename:%SOURCE0} install -Dp -m u=rw,go=r %SOURCE1 %{buildroot}%{_rpmmacrodir}/%{basename:%SOURCE1} %files %doc %{_pkgdocdir}/%{basename:%SOURCE0} %{_rpmmacrodir}/%{basename:%SOURCE1} %changelog %autochangelog