public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-ratatui] epel9: Update to version 0.30.2; Fixes RHBZ#2485404
Date: Wed, 02 Dec 2026 06:59:46 GMT	[thread overview]
Message-ID: <179619478642.1.3833329454806596658.rpms-rust-ratatui-ca477efba19f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-ratatui
            Branch : epel9
            Commit : ca477efba19f52cf7a707b2f822c2e49dce03045
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-12-01T19:45:30+00:00
            Stats  : +69/-104 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-ratatui/c/ca477efba19f52cf7a707b2f822c2e49dce03045?branch=epel9

            Log:
            Update to version 0.30.2; Fixes RHBZ#2485404

- Allow rstest through 0.29

---
diff --git a/.gitignore b/.gitignore
index 88a9936..94d47db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /ratatui-0.28.1.crate
 /ratatui-0.29.0.crate
 /ratatui-0.30.0.crate
+/ratatui-0.30.2.crate

diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 776bf20..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2016-2022 Florian Dehau
-Copyright (c) 2023-2025 The Ratatui Developers
-
-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/ratatui-fix-metadata.diff b/ratatui-fix-metadata.diff
index 9f6b73c..be30e78 100644
--- a/ratatui-fix-metadata.diff
+++ b/ratatui-fix-metadata.diff
@@ -1,8 +1,8 @@
---- ratatui-0.30.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ ratatui-0.30.0/Cargo.toml	2026-02-18T23:34:10.823347+00:00
+--- ratatui-0.30.2/Cargo.toml	2006-07-24T01:21:28+00:00
++++ ratatui-0.30.2/Cargo.toml	2026-12-01T18:46:20.765640+00:00
 @@ -63,10 +63,6 @@
-     "std",
      "dep:ratatui-crossterm",
+     "std",
  ]
 -crossterm_0_28 = [
 -    "crossterm",
@@ -11,63 +11,83 @@
  crossterm_0_29 = [
      "crossterm",
      "ratatui-crossterm/crossterm_0_29",
-@@ -93,7 +89,6 @@
+@@ -88,17 +84,13 @@
+ scrolling-regions = [
      "ratatui-core/scrolling-regions",
      "ratatui-crossterm?/scrolling-regions",
+-    "ratatui-termina?/scrolling-regions",
      "ratatui-termion?/scrolling-regions",
 -    "ratatui-termwiz?/scrolling-regions",
  ]
  serde = [
-     "std",
-@@ -102,7 +97,6 @@
-     "ratatui-widgets/serde",
+     "dep:serde",
+     "ratatui-core/serde",
      "ratatui-crossterm?/serde",
+-    "ratatui-termina?/serde",
      "ratatui-termion?/serde",
 -    "ratatui-termwiz?/serde",
+     "ratatui-widgets/serde",
  ]
  std = [
-     "ratatui-core/std",
-@@ -112,14 +106,9 @@
-     "std",
+@@ -106,23 +98,13 @@
+     "ratatui-widgets/std",
+     "serde?/std",
+ ]
+-termina = [
+-    "dep:ratatui-termina",
+-    "std",
+-]
+ termion = [
      "dep:ratatui-termion",
+     "std",
  ]
 -termwiz = [
--    "std",
 -    "dep:ratatui-termwiz",
+-    "std",
 -]
  underline-color = [
      "ratatui-core/underline-color",
      "ratatui-crossterm?/underline-color",
+-    "ratatui-termina?/underline-color",
 -    "ratatui-termwiz?/underline-color",
  ]
  unstable = [
-     "unstable-rendered-line-info",
-@@ -200,11 +189,6 @@
- name = "widgets_tabs"
- path = "tests/widgets_tabs.rs"
+     "unstable-backend-writer",
+@@ -131,7 +113,6 @@
+ ]
+ unstable-backend-writer = [
+     "ratatui-crossterm?/unstable-backend-writer",
+-    "ratatui-termina?/unstable-backend-writer",
+     "ratatui-termion?/unstable-backend-writer",
+ ]
+ unstable-rendered-line-info = ["ratatui-widgets/unstable-rendered-line-info"]
+@@ -217,7 +198,7 @@
+ version = "0.3"
  
--[[bench]]
--name = "main"
--path = "benches/main.rs"
--harness = false
--
- [dependencies.document-features]
- version = "0.2"
+ [dependencies.palette]
+-version = "0.7.6"
++version = "0.7.5"
+ features = ["libm"]
  optional = true
-@@ -225,10 +209,6 @@
+ default-features = false
+@@ -231,14 +212,6 @@
  
  [dependencies.ratatui-macros]
- version = "0.7.0"
+ version = "0.7.2"
 -optional = true
 -
--[dependencies.ratatui-termwiz]
+-[dependencies.ratatui-termina]
 -version = "0.1.0"
+-optional = true
+-
+-[dependencies.ratatui-termwiz]
+-version = "0.1.2"
  optional = true
  
  [dependencies.ratatui-widgets]
-@@ -242,31 +222,12 @@
- [dev-dependencies.color-eyre]
- version = "0.6"
+@@ -251,28 +224,15 @@
+ optional = true
+ default-features = false
  
 -[dev-dependencies.criterion]
 -version = "0.8"
@@ -80,46 +100,18 @@
 -[dev-dependencies.fakeit]
 -version = "1"
 -
--[dev-dependencies.futures]
--version = "0.3"
--
 -[dev-dependencies.indoc]
 -version = "2"
 -
  [dev-dependencies.pretty_assertions]
  version = "1"
--
+ 
 -[dev-dependencies.rand]
--version = "0.9"
+-version = "0.10"
 -
--[dev-dependencies.rand_chacha]
--version = "0.9"
- 
  [dev-dependencies.rstest]
- version = "0.26"
-@@ -278,25 +239,6 @@
- version = "0.3"
- features = ["local-offset"]
- default-features = false
--
--[dev-dependencies.tokio]
--version = "1"
--features = [
--    "rt",
--    "macros",
--    "time",
--    "rt-multi-thread",
--]
--
--[dev-dependencies.tracing]
--version = "0.1"
--
--[dev-dependencies.tracing-appender]
--version = "0.2"
--
--[dev-dependencies.tracing-subscriber]
--version = "0.3"
--features = ["env-filter"]
+-version = "0.26"
++version = ">=0.26, <0.30"
  
- [target."cfg(not(windows))".dependencies.ratatui-termion]
- version = "0.1.0"
+ [dev-dependencies.serde_json]
+ version = "1"

diff --git a/rust-ratatui.spec b/rust-ratatui.spec
index fbeb4f0..4efd30b 100644
--- a/rust-ratatui.spec
+++ b/rust-ratatui.spec
@@ -5,20 +5,21 @@
 %global crate ratatui
 
 Name:           rust-ratatui
-Version:        0.30.0
+Version:        0.30.2
 Release:        %autorelease
 Summary:        Library that's all about cooking up terminal user interfaces
 
 License:        MIT
 URL:            https://crates.io/crates/ratatui
 Source:         %{crates_source}
-# * https://github.com/ratatui/ratatui/commit/746e9c9
-Source2:        https://github.com/ratatui/ratatui/raw/refs/tags/ratatui-v0.30.0/LICENSE
 # Manually created patch for downstream crate metadata changes
 # * drop support for crossterm v0.28
+# * drop unused support for termina
 # * drop unused support for termwiz
-# * drop unused dev-dependencies (criterion, fakeit, futures, indoc, rand,
-#   rand_chacha, tokio, tracing, tracing-appender, tracing-subscriber)
+# * drop unused dev-dependencies (criterion, fakeit, indoc, rand)
+# * allow rstest through 0.29: https://github.com/ratatui/ratatui/pull/2975
+# * allow older palette 0.7.5 for now; 0.7.6+ require by_address, which is
+#   affected by https://github.com/mbrubeck/by_address/issues/9
 Patch:          ratatui-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -273,7 +274,6 @@ use the "widget-calendar" feature of the "%{crate}" crate.
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep
-cp -pav %{SOURCE2} .
 
 %generate_buildrequires
 %cargo_generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 4cda5fe..8e978bb 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,18 +1,12 @@
 [package]
 cargo-toml-patch-comments = [
     "drop support for crossterm v0.28",
+    "drop unused support for termina",
     "drop unused support for termwiz",
-    "drop unused dev-dependencies (criterion, fakeit, futures, indoc, rand, rand_chacha, tokio, tracing, tracing-appender, tracing-subscriber)",
+    "drop unused dev-dependencies (criterion, fakeit, indoc, rand)",
+    "allow rstest through 0.29: https://github.com/ratatui/ratatui/pull/2975",
+    """\
+allow older palette 0.7.5 for now; 0.7.6+ require by_address, \
+which is affected by https://github.com/mbrubeck/by_address/issues/9\
+""",
 ]
-license-files = ["LICENSE"]
-
-[[package.extra-sources]]
-number = 2
-file = "https://github.com/ratatui/ratatui/raw/refs/tags/ratatui-v0.30.0/LICENSE"
-comments = ["https://github.com/ratatui/ratatui/commit/746e9c9"]
-
-[scripts]
-prep.post = [
-    "cp -pav %{SOURCE2} .",
-]
-

diff --git a/sources b/sources
index bc78c37..fa3d9d3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ratatui-0.30.0.crate) = eaa10e6383eba9166fe7b3ce93ee5715c5af3ffeaa75a724f140e7c83e4428504faddb20e3cf5f36d83a245e1b0297abfaec5e0e07d70ab193d0ccb9443cc23a
+SHA512 (ratatui-0.30.2.crate) = fda09795aaf3bd229d0deced9b8fc4fdcca21d205e92b6f1fc4c8836ca8005094c5ae8b72c0f5fd4f51a0b06b9c6aab994f04d038f8a28bc51071b4b6c59bd00

                 reply	other threads:[~2026-12-02  6:59 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=179619478642.1.3833329454806596658.rpms-rust-ratatui-ca477efba19f@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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