public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-tree-sitter-c] epel10: Update to version 0.24.2; Resolves RHBZ#2368376
Date: Tue, 30 Jun 2026 20:06:14 GMT	[thread overview]
Message-ID: <178284997442.1.16389603896860719848.rpms-rust-tree-sitter-c-1fa93320a156@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-tree-sitter-c
            Branch : epel10
            Commit : 1fa93320a1564ccb824caded4ea85cffa1776b07
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-06-29T22:05:17+01:00
            Stats  : +4/-63 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-tree-sitter-c/c/1fa93320a1564ccb824caded4ea85cffa1776b07?branch=epel10

            Log:
            Update to version 0.24.2; Resolves RHBZ#2368376

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

---
diff --git a/.gitignore b/.gitignore
index a6e87c4..b5f4243 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /tree-sitter-c-0.23.4.crate
+/tree-sitter-c-0.24.2.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-c.spec b/rust-tree-sitter-c.spec
index 0fafb40..4ceebf7 100644
--- a/rust-tree-sitter-c.spec
+++ b/rust-tree-sitter-c.spec
@@ -1,23 +1,17 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 %bcond check 1
 %global debug_package %{nil}
 
 %global crate tree-sitter-c
 
 Name:           rust-tree-sitter-c
-Version:        0.23.4
+Version:        0.24.2
 Release:        %autorelease
 Summary:        C grammar for tree-sitter
 
 License:        MIT
 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/%{crate}/refs/tags/v%{version}/LICENSE
-# Manually created patch for downstream crate metadata changes
-# * include LICENSE
-Patch:          tree-sitter-c-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 403944a..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,21 +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-c/pull/249",
-]
-
-[scripts]
-prep.post = ["""\
-# copy in license file
-cp -p %{SOURCE1} ."""]
-

diff --git a/sources b/sources
index 748e9a2..aca0a89 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tree-sitter-c-0.23.4.crate) = 3fa4440dc8814252d90dd20225fb452eba281adba9027bf05b57975092b98406812e747820259587de8a12f3d38b6ba151dc3b5984b5752db21488157164cb83
+SHA512 (tree-sitter-c-0.24.2.crate) = 0046ac8bfada44d916e9f35f6ee2fe2aef7f69520ae741ea16eecda7f449dbaec1e7a82231d722c96c5f5218b3cfb351e19a14dc0deb6befc9580e42d60f6340

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

                 reply	other threads:[~2026-06-30 20:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178284997442.1.16389603896860719848.rpms-rust-tree-sitter-c-1fa93320a156@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox