## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate tree-sitter-elixir Name: rust-tree-sitter-elixir Version: 0.3.5 Release: %autorelease Summary: Elixir grammar for the tree-sitter parsing library License: Apache-2.0 URL: https://crates.io/crates/tree-sitter-elixir Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * relax tree-sitter dependency to allow building against up to 0.26 Patch: tree-sitter-elixir-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Elixir grammar for the tree-sitter parsing library.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Tue Apr 07 2026 Michel Lind - 0.3.5-3 - Check in rust2rpm.toml * Tue Apr 07 2026 Michel Lind - 0.3.5-2 - Relax tree-sitter dependency to allow building against up to 0.26 * Tue Apr 07 2026 Michel Lind - 0.3.5-1 - Update to version 0.3.5; Resolves RHBZ#2443849 * Sat Jan 17 2026 Fedora Release Engineering - 0.3.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 0.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Wed Mar 12 2025 Michel Lind - 0.3.4-2 - Relax tree-sitter dependency to build against 0.24 * Mon Mar 03 2025 Michel Lind - 0.3.4-1 - Initial package; Resolves: RHBZ#2349133 ## END: Generated by rpmautospec