public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-rustyline] epel9: update to version 6.3.0
Date: Thu, 24 Sep 2026 23:38:47 GMT	[thread overview]
Message-ID: <179029312736.1.18180546204967775361.rpms-rust-rustyline-5c7c63e5c83d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-rustyline
Branch : epel9
Commit : 5c7c63e5c83d2f5d6823ccce9c88ec5faa95abb7
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2020-10-09T15:06:17+02:00
Stats  : +69/-119 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-rustyline/c/5c7c63e5c83d2f5d6823ccce9c88ec5faa95abb7?branch=epel9

Log:
update to version 6.3.0

---
diff --git a/.gitignore b/.gitignore
index 199025d..b1b4ce1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /rustyline-6.1.1.crate
 /rustyline-6.1.2.crate
 /rustyline-6.2.0.crate
+/rustyline-6.3.0.crate

diff --git a/0001-revert-dirs-next-move.patch b/0001-revert-dirs-next-move.patch
index 4cf77f6..b2e8e9f 100644
--- a/0001-revert-dirs-next-move.patch
+++ b/0001-revert-dirs-next-move.patch
@@ -1,62 +1,3 @@
-From 43b18c2df43f53e073052b5e379b317cd686d78a Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Wed, 9 Sep 2020 11:01:12 +0200
-Subject: [PATCH 1/2] revert dirs-next move
-
----
- Cargo.toml        | 6 +++---
- Cargo.toml.orig   | 4 ++--
- src/completion.rs | 2 +-
- 3 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index d594ede..e130e81 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -30,8 +30,8 @@ no-default-features = true
- [dependencies.cfg-if]
- version = "0.1.6"
- 
--[dependencies.dirs-next]
--version = "1.0"
-+[dependencies.dirs]
-+version = "2.0"
- optional = true
- 
- [dependencies.libc]
-@@ -65,7 +65,7 @@ version = "0.3"
- 
- [features]
- default = ["with-dirs"]
--with-dirs = ["dirs-next"]
-+with-dirs = ["dirs"]
- with-fuzzy = ["skim"]
- [target."cfg(unix)".dependencies.nix]
- version = "0.17"
-diff --git a/Cargo.toml.orig b/Cargo.toml.orig
-index 309f432..95145c1 100644
---- a/Cargo.toml.orig
-+++ b/Cargo.toml.orig
-@@ -20,7 +20,7 @@ members = ["rustyline-derive"]
- 
- [dependencies]
- cfg-if = "0.1.6"
--dirs-next = { version = "1.0", optional = true }
-+dirs = { version = "2.0", optional = true }
- libc = "0.2"
- log = "0.4"
- unicode-width = "0.1"
-@@ -45,7 +45,7 @@ rustyline-derive = { version = "0.3.1", path = "rustyline-derive" }
- 
- [features]
- default = ["with-dirs"]
--with-dirs = ["dirs-next"]
-+with-dirs = ["dirs"]
- with-fuzzy = ["skim"]
- 
- [package.metadata.docs.rs]
-diff --git a/src/completion.rs b/src/completion.rs
-index 79ac346..c8d71c3 100644
 --- a/src/completion.rs
 +++ b/src/completion.rs
 @@ -298,7 +298,7 @@ fn filename_complete(

diff --git a/0002-fixup-cargo-dependencies.patch b/0002-fixup-cargo-dependencies.patch
deleted file mode 100644
index 8cdd2e6..0000000
--- a/0002-fixup-cargo-dependencies.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 01751d8415e2ee49be68b86de8e0d66f34091759 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Wed, 9 Sep 2020 11:03:04 +0200
-Subject: [PATCH 2/2] fixup cargo dependencies
-
----
- Cargo.toml      | 7 +------
- Cargo.toml.orig | 6 +-----
- 2 files changed, 2 insertions(+), 11 deletions(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index e130e81..334923d 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -71,17 +71,12 @@ with-fuzzy = ["skim"]
- version = "0.17"
- 
- [target."cfg(unix)".dependencies.skim]
--version = "0.7"
-+version = "0.8"
- optional = true
- 
- [target."cfg(unix)".dependencies.utf8parse]
- version = "0.2"
--[target."cfg(windows)".dependencies.scopeguard]
--version = "1.1"
- 
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3"
--features = ["consoleapi", "handleapi", "minwindef", "processenv", "winbase", "wincon", "winuser"]
- [badges.github-actions]
- repository = "kkawakam/rustyline"
- workflow = "Rust"
-diff --git a/Cargo.toml.orig b/Cargo.toml.orig
-index 95145c1..a0d14b7 100644
---- a/Cargo.toml.orig
-+++ b/Cargo.toml.orig
-@@ -30,11 +30,7 @@ memchr = "2.0"
- [target.'cfg(unix)'.dependencies]
- nix = "0.17"
- utf8parse = "0.2"
--skim = { version = "0.7", optional = true }
--
--[target.'cfg(windows)'.dependencies]
--winapi = { version = "0.3", features = ["consoleapi", "handleapi", "minwindef", "processenv", "winbase", "wincon", "winuser"] }
--scopeguard = "1.1"
-+skim = { version = "0.8", optional = true }
- 
- [dev-dependencies]
- doc-comment = "0.3"
--- 
-2.26.2
-

diff --git a/rust-rustyline.spec b/rust-rustyline.spec
index 20de3df..0b193dc 100644
--- a/rust-rustyline.spec
+++ b/rust-rustyline.spec
@@ -5,7 +5,7 @@
 %global crate rustyline
 
 Name:           rust-%{crate}
-Version:        6.2.0
+Version:        6.3.0
 Release:        1%{?dist}
 Summary:        Readline implementation based on Antirez's Linenoise
 
@@ -13,13 +13,14 @@ Summary:        Readline implementation based on Antirez's Linenoise
 License:        MIT
 URL:            https://crates.io/crates/rustyline
 Source:         %{crates_source}
-
+# Initial patched metadata
+# * use dirs instead of unpackaged dirs-next fork
+# * bump skim dependency from 0.7 to 0.8
+# * drop windows-only dependencies
+Patch0:         rustyline-fix-metadata.diff
 # revert unnecessary move to not-yet-packaged dirs-next
 Patch1:         0001-revert-dirs-next-move.patch
 
-# fix cargo dependencies (drop windows deps, bump skim 0.7 → 0.8)
-Patch2:         0002-fixup-cargo-dependencies.patch
-
 ExclusiveArch:  %{rust_arches}
 %if %{__cargo_skip_build}
 BuildArch:      noarch
@@ -125,6 +126,9 @@ which use "with-fuzzy" feature of "%{crate}" crate.
 %endif
 
 %changelog
+* Fri Oct 09 2020 Fabio Valentini <decathorpe@gmail.com> - 6.3.0-1
+- Update to version 6.3.0.
+
 * Wed Sep 09 2020 Fabio Valentini <decathorpe@gmail.com> - 6.2.0-1
 - Update to version 6.2.0.
 
@@ -142,4 +146,3 @@ which use "with-fuzzy" feature of "%{crate}" crate.
 
 * Sun Feb 02 2020 Fabio Valentini <decathorpe@gmail.com> - 6.0.0-1
 - Initial package
-

diff --git a/rustyline-fix-metadata.diff b/rustyline-fix-metadata.diff
new file mode 100644
index 0000000..b9ad3fe
--- /dev/null
+++ b/rustyline-fix-metadata.diff
@@ -0,0 +1,58 @@
+--- rustyline-6.3.0/Cargo.toml	2020-09-13T05:48:01+00:00
++++ rustyline-6.3.0/Cargo.toml	2020-10-09T12:58:24.213023+00:00
+@@ -22,16 +22,18 @@
+ categories = ["command-line-interface"]
+ license = "MIT"
+ repository = "https://github.com/kkawakam/rustyline"
++
+ [package.metadata.docs.rs]
+ all-features = false
+ default-target = "x86_64-unknown-linux-gnu"
+ features = ["with-dirs", "with-fuzzy"]
+ no-default-features = true
++
+ [dependencies.cfg-if]
+ version = "0.1.6"
+ 
+-[dependencies.dirs-next]
+-version = "1.0"
++[dependencies.dirs]
++version = "2.0"
+ optional = true
+ 
+ [dependencies.libc]
+@@ -48,6 +50,7 @@
+ 
+ [dependencies.unicode-width]
+ version = "0.1"
++
+ [dev-dependencies.assert_matches]
+ version = "1.2"
+ 
+@@ -65,23 +68,19 @@
+ 
+ [features]
+ default = ["with-dirs"]
+-with-dirs = ["dirs-next"]
++with-dirs = ["dirs"]
+ with-fuzzy = ["skim"]
++
+ [target."cfg(unix)".dependencies.nix]
+ version = "0.18"
+ 
+ [target."cfg(unix)".dependencies.skim]
+-version = "0.7"
++version = "0.8"
+ optional = true
+ 
+ [target."cfg(unix)".dependencies.utf8parse]
+ version = "0.2"
+-[target."cfg(windows)".dependencies.scopeguard]
+-version = "1.1"
+ 
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["consoleapi", "handleapi", "minwindef", "processenv", "winbase", "wincon", "winuser"]
+ [badges.github-actions]
+ repository = "kkawakam/rustyline"
+ workflow = "Rust"

diff --git a/sources b/sources
index 86a97ce..ee08e6a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustyline-6.2.0.crate) = 6b610c091d4217e7f06fdfbe30cf285c7003f5f37096b9c02a789dddae6c0be443d821f788da921666ece1ffcfda2b0c3ba0630fa15c03e1cd6edd8b6b298c43
+SHA512 (rustyline-6.3.0.crate) = 148ddf573a1cd088644fa69c9ba0f049ce3a2c88e8616e859eac48b61206f2165a17724296db247bf7cad6c811d609824b0c4c20a19fd070d3acd6240a024350

                 reply	other threads:[~2026-09-24 23:38 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=179029312736.1.18180546204967775361.rpms-rust-rustyline-5c7c63e5c83d@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --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