public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-rustyline] epel9: Update to 8.2.0
@ 2026-09-24 23:38 Davide Cavalca
0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-09-24 23:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-rustyline
Branch : epel9
Commit : 46c8908ebe1506a4d3b059fd56b15f3a09abe1f3
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date : 2021-06-28T08:17:02-07:00
Stats : +24/-78 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-rustyline/c/46c8908ebe1506a4d3b059fd56b15f3a09abe1f3?branch=epel9
Log:
Update to 8.2.0
---
diff --git a/.gitignore b/.gitignore
index b1b4ce1..712c1cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/rustyline-6.1.2.crate
/rustyline-6.2.0.crate
/rustyline-6.3.0.crate
+/rustyline-8.2.0.crate
diff --git a/0001-revert-dirs-next-move.patch b/0001-revert-dirs-next-move.patch
deleted file mode 100644
index b2e8e9f..0000000
--- a/0001-revert-dirs-next-move.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/src/completion.rs
-+++ b/src/completion.rs
-@@ -298,7 +298,7 @@ fn filename_complete(
- quote: Quote,
- ) -> Result<Vec<Pair>> {
- #[cfg(feature = "with-dirs")]
-- use dirs_next::home_dir;
-+ use dirs::home_dir;
- use std::env::current_dir;
-
- let sep = path::MAIN_SEPARATOR;
---
-2.26.2
-
diff --git a/rust-rustyline.spec b/rust-rustyline.spec
index 5ac524c..e4b465e 100644
--- a/rust-rustyline.spec
+++ b/rust-rustyline.spec
@@ -1,12 +1,12 @@
-# Generated by rust2rpm 13
+# Generated by rust2rpm 17
%bcond_without check
%global debug_package %{nil}
%global crate rustyline
Name: rust-%{crate}
-Version: 6.3.0
-Release: 2%{?dist}
+Version: 8.2.0
+Release: 1%{?dist}
Summary: Readline implementation based on Antirez's Linenoise
# Upstream license specification: MIT
@@ -14,12 +14,8 @@ 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
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
@@ -44,7 +40,7 @@ which use "%{crate}" crate.
%files devel
%license LICENSE
-%doc README.md
+%doc examples TODO.md README.md Incremental.md History.md CustomBinding.md BUGS.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
@@ -59,16 +55,16 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
-%package -n %{name}+dirs-devel
+%package -n %{name}+dirs-next-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+dirs-devel %{_description}
+%description -n %{name}+dirs-next-devel %{_description}
This package contains library source intended for building other packages
-which use "dirs" feature of "%{crate}" crate.
+which use "dirs-next" feature of "%{crate}" crate.
-%files -n %{name}+dirs-devel
+%files -n %{name}+dirs-next-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+skim-devel
@@ -126,6 +122,10 @@ which use "with-fuzzy" feature of "%{crate}" crate.
%endif
%changelog
+* Fri Jun 25 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 8.2.0-1
+- Update to version 8.2.0.
+- Fixes RHBZ#1900328
+
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
diff --git a/rustyline-fix-metadata.diff b/rustyline-fix-metadata.diff
index b9ad3fe..aea5e18 100644
--- a/rustyline-fix-metadata.diff
+++ b/rustyline-fix-metadata.diff
@@ -1,58 +1,17 @@
---- 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
+--- rustyline-8.2.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ rustyline-8.2.0/Cargo.toml 2021-06-25T17:41:42.570503+00:00
+@@ -89,14 +89,5 @@
[target."cfg(unix)".dependencies.utf8parse]
version = "0.2"
+-[target."cfg(windows)".dependencies.clipboard-win]
+-version = "4.2.1"
+-
-[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"
+-features = ["consoleapi", "handleapi", "minwindef", "processenv", "std", "winbase", "wincon", "winuser"]
+ [badges.maintenance]
+ status = "actively-developed"
diff --git a/sources b/sources
index ee08e6a..858f557 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustyline-6.3.0.crate) = 148ddf573a1cd088644fa69c9ba0f049ce3a2c88e8616e859eac48b61206f2165a17724296db247bf7cad6c811d609824b0c4c20a19fd070d3acd6240a024350
+SHA512 (rustyline-8.2.0.crate) = 78784707d8b7b01a59b60bfb0f1386150af78e97b191585a67801de7f91c493f8dc03aa6a54533e724d5a4274af6f7602a5dc4dd3a1399ed75fcf9c86f32b5f9
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-24 23:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24 23:38 [rpms/rust-rustyline] epel9: Update to 8.2.0 Davide Cavalca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox