public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tree-sitter-c] epel9: Fix license download URL
@ 2026-06-30 20:09 Michel Lind
  0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-06-30 20:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-tree-sitter-c
            Branch : epel9
            Commit : 4fc36a8f4f2214b539ccce9a03f6a879952c5f33
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2025-03-11T17:23:18-05:00
            Stats  : +2/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-tree-sitter-c/c/4fc36a8f4f2214b539ccce9a03f6a879952c5f33?branch=epel9

            Log:
            Fix license download URL

Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/rust-tree-sitter-c.spec b/rust-tree-sitter-c.spec
index 2932edc..0fafb40 100644
--- a/rust-tree-sitter-c.spec
+++ b/rust-tree-sitter-c.spec
@@ -14,7 +14,7 @@ URL:            https://crates.io/crates/tree-sitter-c
 Source:         %{crates_source}
 # include license file
 # https://github.com/tree-sitter/tree-sitter-c/pull/249
-Source:         https://raw.githubusercontent.com/tree-sitter/tree-sitter-c/refs/tags/v0.23.4/LICENSE
+Source:         https://raw.githubusercontent.com/tree-sitter/%{crate}/refs/tags/v%{version}/LICENSE
 # Manually created patch for downstream crate metadata changes
 # * include LICENSE
 Patch:          tree-sitter-c-fix-metadata.diff

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 284b77d..403944a 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -8,7 +8,7 @@ license-files = [
 
 [[package.extra-sources]]
 number = 1
-file = "https://raw.githubusercontent.com/tree-sitter/tree-sitter-bash/refs/tags/v%{version}/LICENSE"
+file = "https://raw.githubusercontent.com/tree-sitter/%{crate}/refs/tags/v%{version}/LICENSE"
 comments = [
   "include license file",
   "https://github.com/tree-sitter/tree-sitter-c/pull/249",

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-30 20:09 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:09 [rpms/rust-tree-sitter-c] epel9: Fix license download URL Michel Lind

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox