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-nix] epel10: Update to version 0.3.0; Resolves RHBZ#2381974
Date: Tue, 30 Jun 2026 20:06:50 GMT	[thread overview]
Message-ID: <178285001076.1.18387327599588289969.rpms-rust-tree-sitter-nix-b6e99aa3ac01@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-tree-sitter-nix
            Branch : epel10
            Commit : b6e99aa3ac012598ab146f26e7518e20701761de
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-06-30T15:10:16+01:00
            Stats  : +4/-65 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-tree-sitter-nix/c/b6e99aa3ac012598ab146f26e7518e20701761de?branch=epel10

            Log:
            Update to version 0.3.0; Resolves RHBZ#2381974

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

---
diff --git a/.gitignore b/.gitignore
index 79fe4c4..c22cb0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /tree-sitter-nix-0.0.2.crate
+/tree-sitter-nix-0.3.0.crate

diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index cfa8a0f..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2019 Charles Strahan
-
-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-nix.spec b/rust-tree-sitter-nix.spec
index 45e71f7..15d2939 100644
--- a/rust-tree-sitter-nix.spec
+++ b/rust-tree-sitter-nix.spec
@@ -1,23 +1,17 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 %bcond check 1
 %global debug_package %{nil}
 
 %global crate tree-sitter-nix
 
 Name:           rust-tree-sitter-nix
-Version:        0.0.2
+Version:        0.3.0
 Release:        %autorelease
 Summary:        Nix grammar for the tree-sitter parsing library
 
 License:        MIT
 URL:            https://crates.io/crates/tree-sitter-nix
 Source:         %{crates_source}
-# * include license file
-# * https://github.com/nix-community/tree-sitter-nix/pull/134
-Source1:        https://raw.githubusercontent.com/nix-community/%{crate}/refs/tags/v%{version}/LICENSE
-# Manually created patch for downstream crate metadata changes
-# * include LICENSE
-Patch:          tree-sitter-nix-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 043d837..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/nix-community/%{crate}/refs/tags/v%{version}/LICENSE"
-comments = [
-  "include license file",
-  "https://github.com/nix-community/tree-sitter-nix/pull/134",
-]
-
-[scripts.prep]
-post = [
-  """\
-# copy in license file
-cp -p %{SOURCE1} .\
-""",
-]

diff --git a/sources b/sources
index a6bbe94..c43fa1f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tree-sitter-nix-0.0.2.crate) = a767f4f03b5a58aa418872fed826aa194eb927276314401081ac57f6241e633e30d233a52bd724459a861644ee058cb9ed6d1aeed4c25a484edd4b381f634141
+SHA512 (tree-sitter-nix-0.3.0.crate) = 4a6708748ad4ba0fb46aacda5b51f3d9407c3fd71c9ca7165669321726be5d19c0685dac43fa41b2eb52dd78b882f8013d82db0d804adbc1c44175e081070401

diff --git a/tree-sitter-nix-fix-metadata.diff b/tree-sitter-nix-fix-metadata.diff
deleted file mode 100644
index c4efc10..0000000
--- a/tree-sitter-nix-fix-metadata.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- tree-sitter-nix-0.0.2/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ tree-sitter-nix-0.0.2/Cargo.toml	2025-03-01T04:59:18.732865+00:00
-@@ -15,6 +15,7 @@
- version = "0.0.2"
- 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=178285001076.1.18387327599588289969.rpms-rust-tree-sitter-nix-b6e99aa3ac01@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