public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tree-sitter-c-sharp] epel10: Update to version 0.23.5; Resolves RHBZ#2458243
@ 2026-06-12 10:44 Michel Lind
  0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-06-12 10:44 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-tree-sitter-c-sharp
            Branch : epel10
            Commit : 88522af61c0babd6919b976990091c38dd3a6396
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-06-11T23:07:36+01:00
            Stats  : +4/-63 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-tree-sitter-c-sharp/c/88522af61c0babd6919b976990091c38dd3a6396?branch=epel10

            Log:
            Update to version 0.23.5; Resolves RHBZ#2458243

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

---
diff --git a/.gitignore b/.gitignore
index 725d543..605ff74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /tree-sitter-c-sharp-0.23.1.crate
+/tree-sitter-c-sharp-0.23.5.crate

diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index c8921f6..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014-2023 Max Brunsfeld, Damien Guard, Amaan Qureshi, and contributors.
-
-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-sharp.spec b/rust-tree-sitter-c-sharp.spec
index 2bb4394..4b3125e 100644
--- a/rust-tree-sitter-c-sharp.spec
+++ b/rust-tree-sitter-c-sharp.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-sharp
 
 Name:           rust-tree-sitter-c-sharp
-Version:        0.23.1
+Version:        0.23.5
 Release:        %autorelease
 Summary:        C# grammar for tree-sitter
 
 License:        MIT
 URL:            https://crates.io/crates/tree-sitter-c-sharp
 Source:         %{crates_source}
-# include license
-# https://github.com/tree-sitter/tree-sitter-c-sharp/pull/366
-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-sharp-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 f9a61b1..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-sharp/pull/366",
-]
-
-[scripts]
-prep.post = ["""\
-# copy in license file
-cp -p %{SOURCE1} ."""]
-

diff --git a/sources b/sources
index b85b842..c04d2c1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tree-sitter-c-sharp-0.23.1.crate) = 407142c6ccdaf5e8e5a509a4346f93988755821ab1cc2eee3ec719294f92ac4050dcca40993f1f5f7a500be056a5cbf383077627273e043ec1d414236a75d2a0
+SHA512 (tree-sitter-c-sharp-0.23.5.crate) = 38d0199143fd6b76bf1e41e18c985bcbfab2186e8a108604ee3d5bc8149a356611350eb78d055a8d80f6e2d5a723e25a6ed2ad44be36fc428add62ee757b9b9d

diff --git a/tree-sitter-c-sharp-fix-metadata.diff b/tree-sitter-c-sharp-fix-metadata.diff
deleted file mode 100644
index 937872f..0000000
--- a/tree-sitter-c-sharp-fix-metadata.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- tree-sitter-c-sharp-0.23.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ tree-sitter-c-sharp-0.23.1/Cargo.toml	2025-01-30T10:38:46.430003+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-12 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 10:44 [rpms/rust-tree-sitter-c-sharp] epel10: Update to version 0.23.5; Resolves RHBZ#2458243 Michel Lind

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