public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-rustyline] epel9: update to version 6.1.0
@ 2026-09-24 23:38 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-24 23:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-rustyline
Branch : epel9
Commit : 8ec082b72b8f4b2289a7f107d191dc477cc6f4e2
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2020-04-05T20:30:02+02:00
Stats : +55/-18 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-rustyline/c/8ec082b72b8f4b2289a7f107d191dc477cc6f4e2?branch=epel9
Log:
update to version 6.1.0
---
diff --git a/.gitignore b/.gitignore
index acdd1a8..c74899f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/*.src.rpm
/rustyline-6.0.0.crate
+/rustyline-6.1.0.crate
diff --git a/00-Cargo-no-windows-deps.patch b/00-Cargo-no-windows-deps.patch
deleted file mode 100644
index 41ccf99..0000000
--- a/00-Cargo-no-windows-deps.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/Cargo.toml b/Cargo.toml
-index 1eabe21..7e516bf 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -68,9 +68,6 @@ version = "0.14"
-
- [target."cfg(unix)".dependencies.utf8parse]
- version = "0.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/00-fixup-cargo-toml.patch b/00-fixup-cargo-toml.patch
new file mode 100644
index 0000000..75ad32e
--- /dev/null
+++ b/00-fixup-cargo-toml.patch
@@ -0,0 +1,21 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index 2eaaca4..e1a3a8a 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -71,14 +71,11 @@ 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.winapi]
+-version = "0.3"
+-features = ["consoleapi", "handleapi", "minwindef", "processenv", "winbase", "wincon", "winuser"]
++version = "0.1"
+ [badges.github-actions]
+ repository = "kkawakam/rustyline"
+ workflow = "Rust"
diff --git a/rust-rustyline.spec b/rust-rustyline.spec
index 36a3e57..4212c57 100644
--- a/rust-rustyline.spec
+++ b/rust-rustyline.spec
@@ -5,7 +5,7 @@
%global crate rustyline
Name: rust-%{crate}
-Version: 6.0.0
+Version: 6.1.0
Release: 1%{?dist}
Summary: Readline implementation based on Antirez's Linenoise
@@ -14,8 +14,10 @@ License: MIT
URL: https://crates.io/crates/rustyline
Source: %{crates_source}
-# drop unavailable, windows-specific dependencies
-Patch0: 00-Cargo-no-windows-deps.patch
+# fixup Cargo.toml metadata:
+# - drop windows-specific dependencies
+# - adapt to versions of dependencies available on fedora
+Patch0: 00-fixup-cargo-toml.patch
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
@@ -67,6 +69,18 @@ which use "dirs" feature of "%{crate}" crate.
%files -n %{name}+dirs-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%package -n %{name}+skim-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+skim-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "skim" feature of "%{crate}" crate.
+
+%files -n %{name}+skim-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
%package -n %{name}+with-dirs-devel
Summary: %{summary}
BuildArch: noarch
@@ -79,6 +93,18 @@ which use "with-dirs" feature of "%{crate}" crate.
%files -n %{name}+with-dirs-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%package -n %{name}+with-fuzzy-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+with-fuzzy-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "with-fuzzy" feature of "%{crate}" crate.
+
+%files -n %{name}+with-fuzzy-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
@@ -98,6 +124,9 @@ which use "with-dirs" feature of "%{crate}" crate.
%endif
%changelog
+* Fri Apr 03 2020 Fabio Valentini <decathorpe@gmail.com> - 6.1.0-1
+- Update to version 6.1.0.
+
* Sun Feb 02 2020 Fabio Valentini <decathorpe@gmail.com> - 6.0.0-1
- Initial package
diff --git a/sources b/sources
index a7a0fac..f2785a5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustyline-6.0.0.crate) = cb1dc759b310bde887f314d916a914d557b3aaa585033565a5e212767ac6e6b576f3465daf5db865454ae526761c55069e5387d6aef21cd1ac052da69d0242b2
+SHA512 (rustyline-6.1.0.crate) = d3fea5b9c1d13742cb6d5baf4ff2541322d7a2abf4cf9a3db20935d5af4665b186fc54009a57d1752e85c40435fb634557d2af85957513b54a3b0de60333819a
^ 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 version 6.1.0 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox