public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tree-sitter-lua] epel9: Update to version 0.5.0; Resolves RHBZ#2426445
@ 2026-06-30 20:10 Michel Lind
0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-06-30 20:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-tree-sitter-lua
Branch : epel9
Commit : 79735852cd1e1192db938c86f3916bc5dbfbc1ae
Author : Michel Lind <salimma@fedoraproject.org>
Date : 2026-06-30T14:57:06+01:00
Stats : +24/-33 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-tree-sitter-lua/c/79735852cd1e1192db938c86f3916bc5dbfbc1ae?branch=epel9
Log:
Update to version 0.5.0; Resolves RHBZ#2426445
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 5825078..082bbb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tree-sitter-lua-0.2.0.crate
+/tree-sitter-lua-0.5.0.crate
diff --git a/rust-tree-sitter-lua.spec b/rust-tree-sitter-lua.spec
index 5ed1216..c57f77a 100644
--- a/rust-tree-sitter-lua.spec
+++ b/rust-tree-sitter-lua.spec
@@ -1,23 +1,22 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
%global crate tree-sitter-lua
Name: rust-tree-sitter-lua
-Version: 0.2.0
+Version: 0.5.0
Release: %autorelease
Summary: Lua grammar for tree-sitter
License: MIT
URL: https://crates.io/crates/tree-sitter-lua
Source: %{crates_source}
-# * include license file
-# * https://github.com/tree-sitter-grammars/tree-sitter-lua/pull/51
-Source1: https://raw.githubusercontent.com/tree-sitter-grammars/%{crate}/refs/tags/v%{version}/LICENSE.md
+# * fix license file name
+# * https://github.com/tree-sitter-grammars/tree-sitter-lua/pull/79
+Source2: https://raw.githubusercontent.com/tree-sitter-grammars/%{crate}/refs/tags/v%{version}/LICENSE.md
# Manually created patch for downstream crate metadata changes
-# * include LICENSE.md
-# * relax tree-sitter dependency to build against 0.24
+# * include LICENSE.md, not LICENSE
Patch: tree-sitter-lua-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -57,7 +56,7 @@ use the "default" feature of the "%{crate}" crate.
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
# copy in license file
-cp -p %{SOURCE1} .
+cp -p %{SOURCE2} .
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 5c3d116..615aea3 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,22 +1,21 @@
[package]
cargo-toml-patch-comments = [
- "include LICENSE.md",
- "relax tree-sitter dependency to build against 0.24",
+ "include LICENSE.md, not LICENSE",
]
license-files = [
"LICENSE.md",
]
[[package.extra-sources]]
-number = 1
+number = 2
file = "https://raw.githubusercontent.com/tree-sitter-grammars/%{crate}/refs/tags/v%{version}/LICENSE.md"
comments = [
- "include license file",
- "https://github.com/tree-sitter-grammars/tree-sitter-lua/pull/51",
+ "fix license file name",
+ "https://github.com/tree-sitter-grammars/tree-sitter-lua/pull/79",
]
[scripts]
prep.post = ["""\
# copy in license file
-cp -p %{SOURCE1} ."""]
+cp -p %{SOURCE2} ."""]
diff --git a/sources b/sources
index 364ea7d..46c2683 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tree-sitter-lua-0.2.0.crate) = 90f9b405f0a94fb69ac2296069f88fd3daf743f9f3124f81c07beb913f0beae66298c7d95ed7776ae90d2a04aada1ceeb318e097b3c862f8bc2a2a775a07f39c
+SHA512 (tree-sitter-lua-0.5.0.crate) = 107577826d85ebd2e658e9a5a5809c6196bfbfd93a5660956740a0f0e5e2412d0974a3a1de56ecade76ea107aaa6460fe4bf9c971a45c61168981b8823a5060d
diff --git a/tree-sitter-lua-fix-metadata.diff b/tree-sitter-lua-fix-metadata.diff
index 96cbe8c..b779887 100644
--- a/tree-sitter-lua-fix-metadata.diff
+++ b/tree-sitter-lua-fix-metadata.diff
@@ -1,19 +1,11 @@
---- tree-sitter-lua-0.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ tree-sitter-lua-0.2.0/Cargo.toml 2025-03-12T04:19:02.205243+00:00
-@@ -16,6 +16,7 @@
- authors = ["Munif Tanjim <hello@muniftanjim.dev>"]
- build = "bindings/rust/build.rs"
- include = [
-+ "LICENSE.md",
- "bindings/rust/*",
- "grammar.js",
+--- tree-sitter-lua-0.5.0/Cargo.toml 2006-07-24T01:21:28+00:00
++++ tree-sitter-lua-0.5.0/Cargo.toml 2026-06-30T13:55:38.582496+00:00
+@@ -21,7 +21,7 @@
"queries/*",
-@@ -48,7 +49,7 @@
- version = "0.1.0"
-
- [dev-dependencies.tree-sitter]
--version = "0.23"
-+version = ">=0.23,<0.25"
-
- [build-dependencies.cc]
- version = "1.1.18"
+ "src/*",
+ "tree-sitter.json",
+- "/LICENSE",
++ "/LICENSE.md",
+ ]
+ autolib = false
+ autobins = false
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-30 20:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 20:10 [rpms/rust-tree-sitter-lua] epel9: Update to version 0.5.0; Resolves RHBZ#2426445 Michel Lind
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox