public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tree-sitter-cli] epel10: Update dialoguer to 0.12
@ 2026-07-10  5:52 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-10  5:52 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-tree-sitter-cli
            Branch : epel10
            Commit : 9279d5dfd9730436e4fd740e137db0d8b247676b
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-07-10T06:52:05+01:00
            Stats  : +15/-13 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-tree-sitter-cli/c/9279d5dfd9730436e4fd740e137db0d8b247676b?branch=epel10

            Log:
            Update dialoguer to 0.12

- No longer allow similar 2.6.0, since we have 2.7.0
- Update `License` expression

---
diff --git a/rust-tree-sitter-cli.spec b/rust-tree-sitter-cli.spec
index 120f707..5ef5d1c 100644
--- a/rust-tree-sitter-cli.spec
+++ b/rust-tree-sitter-cli.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 # * Requires unpublished crate tree-sitter-tests-proc-macro
 %bcond check 0
 
@@ -16,7 +16,8 @@ Source:         %{crates_source}
 Source2:        https://github.com/tree-sitter/tree-sitter/raw/v%{version}/LICENSE#/LICENSE.upstream
 # Manually created patch for downstream crate metadata changes
 # * Disable feature 'wasm'
-# * Downgrade 'similar' to the version available in Fedora
+# * Update dialoguer to 0.12:
+#   https://github.com/tree-sitter/tree-sitter/commit/b8fcf276615c4a979067161b89e1c014e451dae2
 Patch:          tree-sitter-cli-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -30,7 +31,6 @@ CLI tool for developing, testing, and using Tree-sitter parsers.}
 Summary:        %{summary}
 # (MIT OR Apache-2.0) AND Unicode-DFS-2016
 # Apache-2.0
-# Apache-2.0 OR BSL-1.0
 # Apache-2.0 OR MIT
 # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
 # BSD-2-Clause OR Apache-2.0 OR MIT
@@ -47,7 +47,6 @@ License:        %{shrink:
                 MIT
                 AND (MIT OR Apache-2.0)
                 AND Apache-2.0
-                AND (Apache-2.0 OR BSL-1.0)
                 AND (Apache-2.0 OR MIT)
                 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
                 AND (BSD-2-Clause OR Apache-2.0 OR MIT)

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 63a46cd..4c8413d 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,7 +1,10 @@
 [package]
 cargo-toml-patch-comments = [
     "Disable feature 'wasm'",
-    "Downgrade 'similar' to the version available in Fedora",
+    """\
+Update dialoguer to 0.12: \
+https://github.com/tree-sitter/tree-sitter/commit/b8fcf276615c4a979067161b89e1c014e451dae2\
+""",
 ]
 license-files = { include = ["LICENSE"] }
 

diff --git a/tree-sitter-cli-fix-metadata.diff b/tree-sitter-cli-fix-metadata.diff
index e98fd78..2c2a814 100644
--- a/tree-sitter-cli-fix-metadata.diff
+++ b/tree-sitter-cli-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- tree-sitter-cli-0.25.10/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ tree-sitter-cli-0.25.10/Cargo.toml	2025-09-28T18:29:54.692643+00:00
++++ tree-sitter-cli-0.25.10/Cargo.toml	2026-07-08T17:40:00.861143+00:00
 @@ -21,6 +21,7 @@
  build = "build.rs"
  include = [
@@ -21,12 +21,12 @@
  [lib]
  name = "tree_sitter_cli"
  path = "src/lib.rs"
-@@ -156,7 +151,7 @@
- features = ["preserve_order"]
+@@ -100,7 +95,7 @@
+ features = ["termination"]
  
- [dependencies.similar]
--version = "2.7.0"
-+version = "2.6.0"
+ [dependencies.dialoguer]
+-version = "0.11.0"
++version = "0.12.0"
+ features = ["fuzzy-select"]
  
- [dependencies.smallbitvec]
- version = "2.5.3"
+ [dependencies.filetime]

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

only message in thread, other threads:[~2026-07-10  5:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10  5:52 [rpms/rust-tree-sitter-cli] epel10: Update dialoguer to 0.12 Benjamin A. Beasley

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