public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tree-sitter-go] rawhide: Update to version 0.25.0; Resolves RHBZ#2391724
@ 2026-06-30 17:02 Michel Lind
  0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-06-30 17:02 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-tree-sitter-go
            Branch : rawhide
            Commit : a156c76406f1f6a1de2f947bd2b15b95314149e7
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-06-30T13:35:17+01:00
            Stats  : +4/-65 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-tree-sitter-go/c/a156c76406f1f6a1de2f947bd2b15b95314149e7?branch=rawhide

            Log:
            Update to version 0.25.0; Resolves RHBZ#2391724

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

---
diff --git a/.gitignore b/.gitignore
index 910c7b7..2aa30a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /tree-sitter-go-0.23.4.crate
+/tree-sitter-go-0.25.0.crate

diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 4b52d19..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Max Brunsfeld
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.

diff --git a/rust-tree-sitter-go.spec b/rust-tree-sitter-go.spec
index c2b6d98..e44720f 100644
--- a/rust-tree-sitter-go.spec
+++ b/rust-tree-sitter-go.spec
@@ -1,23 +1,17 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 %bcond check 1
 %global debug_package %{nil}
 
 %global crate tree-sitter-go
 
 Name:           rust-tree-sitter-go
-Version:        0.23.4
+Version:        0.25.0
 Release:        %autorelease
 Summary:        Go grammar for tree-sitter
 
 License:        MIT
 URL:            https://crates.io/crates/tree-sitter-go
 Source:         %{crates_source}
-# include license file
-# https://github.com/tree-sitter/tree-sitter-go/pull/162
-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-go-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 
@@ -55,8 +49,6 @@ use the "default" feature of the "%{crate}" crate.
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep
-# copy in license file
-cp -p %{SOURCE1} .
 
 %generate_buildrequires
 %cargo_generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
deleted file mode 100644
index 33f5e3c..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,23 +0,0 @@
-[package]
-cargo-toml-patch-comments = [
-  "include LICENSE",
-]
-license-files = [
-  "LICENSE",
-]
-
-[[package.extra-sources]]
-number = 1
-file = "https://raw.githubusercontent.com/tree-sitter/%{crate}/refs/tags/v%{version}/LICENSE"
-comments = [
-  "include license file",
-  "https://github.com/tree-sitter/tree-sitter-go/pull/162",
-]
-
-[scripts.prep]
-post = [
-  """\
-# copy in license file
-cp -p %{SOURCE1} .\
-""",
-]

diff --git a/sources b/sources
index 0715b6d..72107fe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tree-sitter-go-0.23.4.crate) = b421d33ec55c560f4e6bc11f42440f7d33d75ed16f708165f050b88405694ef2f9ee65266b58444d69b0e545f3a97f9e151c57bb1c5ea028d77edf5b881504cc
+SHA512 (tree-sitter-go-0.25.0.crate) = 5c847d91bdf4c9ebd876ca70e485de56a8a8e5bb71faf1348803978851621f0457b0931e82786a80b55484ffb3a9153fea712af40e35c657e1decc0752f13ac7

diff --git a/tree-sitter-go-fix-metadata.diff b/tree-sitter-go-fix-metadata.diff
deleted file mode 100644
index 5a4bafd..0000000
--- a/tree-sitter-go-fix-metadata.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- tree-sitter-go-0.23.4/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ tree-sitter-go-0.23.4/Cargo.toml	2025-01-30T21:07:17.924001+00:00
-@@ -19,6 +19,7 @@
- ]
- build = "bindings/rust/build.rs"
- include = [
-+    "LICENSE",
-     "bindings/rust/*",
-     "grammar.js",
-     "queries/*",

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

only message in thread, other threads:[~2026-06-30 17:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 17:02 [rpms/rust-tree-sitter-go] rawhide: Update to version 0.25.0; Resolves RHBZ#2391724 Michel Lind

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