public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-rustyline] epel9: Update to version 12.0.0; Fixes RHBZ#1994691
@ 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 : 3b45dae2ba30b6ef05d008fadda88563c57bf0d5
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-10-22T14:42:22+02:00
Stats : +182/-16 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-rustyline/c/3b45dae2ba30b6ef05d008fadda88563c57bf0d5?branch=epel9
Log:
Update to version 12.0.0; Fixes RHBZ#1994691
---
diff --git a/.gitignore b/.gitignore
index 712c1cf..6a3acc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/rustyline-6.2.0.crate
/rustyline-6.3.0.crate
/rustyline-8.2.0.crate
+/rustyline-12.0.0.crate
diff --git a/rust-rustyline.spec b/rust-rustyline.spec
index 8d572f7..8eddabf 100644
--- a/rust-rustyline.spec
+++ b/rust-rustyline.spec
@@ -1,21 +1,25 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate rustyline
Name: rust-rustyline
-Version: 8.2.0
+Version: 12.0.0
Release: %autorelease
Summary: Readline implementation based on Antirez's Linenoise
License: MIT
URL: https://crates.io/crates/rustyline
Source: %{crates_source}
-# Automatically generated patch to strip foreign dependencies
+# Automatically generated patch to strip dependencies and normalize metadata
Patch: rustyline-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * relax rusqlite dependency from ^0.29 to >=0.28,<0.30
+# * drop rusqlite/bundled feature for statically linking sqlite
+Patch: rustyline-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Rustyline, a readline implementation based on Antirez's Linenoise.}
@@ -33,8 +37,10 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/Ansi.md
%doc %{crate_instdir}/BUGS.md
%doc %{crate_instdir}/CustomBinding.md
+%doc %{crate_instdir}/Features.md
%doc %{crate_instdir}/History.md
%doc %{crate_instdir}/Incremental.md
%doc %{crate_instdir}/README.md
@@ -53,16 +59,124 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+dirs-next-devel
+%package -n %{name}+case_insensitive_history_search-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+dirs-next-devel %{_description}
+%description -n %{name}+case_insensitive_history_search-devel %{_description}
This package contains library source intended for building other packages which
-use the "dirs-next" feature of the "%{crate}" crate.
+use the "case_insensitive_history_search" feature of the "%{crate}" crate.
-%files -n %{name}+dirs-next-devel
+%files -n %{name}+case_insensitive_history_search-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+custom-bindings-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+custom-bindings-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "custom-bindings" feature of the "%{crate}" crate.
+
+%files -n %{name}+custom-bindings-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+derive-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+derive-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "derive" feature of the "%{crate}" crate.
+
+%files -n %{name}+derive-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+fd-lock-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+fd-lock-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "fd-lock" feature of the "%{crate}" crate.
+
+%files -n %{name}+fd-lock-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+home-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+home-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "home" feature of the "%{crate}" crate.
+
+%files -n %{name}+home-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+radix_trie-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+radix_trie-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "radix_trie" feature of the "%{crate}" crate.
+
+%files -n %{name}+radix_trie-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+regex-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+regex-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "regex" feature of the "%{crate}" crate.
+
+%files -n %{name}+regex-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+rusqlite-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+rusqlite-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "rusqlite" feature of the "%{crate}" crate.
+
+%files -n %{name}+rusqlite-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+rustyline-derive-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+rustyline-derive-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "rustyline-derive" feature of the "%{crate}" crate.
+
+%files -n %{name}+rustyline-derive-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+signal-hook-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+signal-hook-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "signal-hook" feature of the "%{crate}" crate.
+
+%files -n %{name}+signal-hook-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+skim-devel
@@ -89,6 +203,18 @@ use the "with-dirs" feature of the "%{crate}" crate.
%files -n %{name}+with-dirs-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+with-file-history-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+with-file-history-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "with-file-history" feature of the "%{crate}" crate.
+
+%files -n %{name}+with-file-history-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+with-fuzzy-devel
Summary: %{summary}
BuildArch: noarch
@@ -101,8 +227,20 @@ use the "with-fuzzy" feature of the "%{crate}" crate.
%files -n %{name}+with-fuzzy-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+with-sqlite-history-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+with-sqlite-history-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "with-sqlite-history" feature of the "%{crate}" crate.
+
+%files -n %{name}+with-sqlite-history-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..c9a9cde
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,2 @@
+[package]
+summary = "Readline implementation based on Antirez's Linenoise"
diff --git a/rustyline-fix-metadata-auto.diff b/rustyline-fix-metadata-auto.diff
index de51f49..4c71ac0 100644
--- a/rustyline-fix-metadata-auto.diff
+++ b/rustyline-fix-metadata-auto.diff
@@ -1,17 +1,29 @@
---- rustyline-8.2.0/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ rustyline-8.2.0/Cargo.toml 2023-05-21T12:55:37.955216+00:00
-@@ -89,14 +89,5 @@
-
+--- rustyline-12.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ rustyline-12.0.0/Cargo.toml 2023-10-22T11:30:30.611770+00:00
+@@ -187,25 +187,6 @@
[target."cfg(unix)".dependencies.utf8parse]
version = "0.2"
+
-[target."cfg(windows)".dependencies.clipboard-win]
--version = "4.2.1"
+-version = "4.5"
-
-[target."cfg(windows)".dependencies.scopeguard]
-version = "1.1"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
--features = ["consoleapi", "handleapi", "minwindef", "processenv", "std", "winbase", "wincon", "winuser"]
+-features = [
+- "consoleapi",
+- "handleapi",
+- "synchapi",
+- "minwindef",
+- "processenv",
+- "std",
+- "winbase",
+- "wincon",
+- "winuser",
+-]
+-
[badges.maintenance]
status = "actively-developed"
++
diff --git a/rustyline-fix-metadata.diff b/rustyline-fix-metadata.diff
new file mode 100644
index 0000000..0017655
--- /dev/null
+++ b/rustyline-fix-metadata.diff
@@ -0,0 +1,13 @@
+--- rustyline-12.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ rustyline-12.0.0/Cargo.toml 2023-10-22T11:31:10.806949+00:00
+@@ -115,9 +115,8 @@
+ optional = true
+
+ [dependencies.rusqlite]
+-version = "0.29.0"
++version = ">=0.28,<0.30"
+ features = [
+- "bundled",
+ "backup",
+ ]
+ optional = true
diff --git a/sources b/sources
index 858f557..b3edb16 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustyline-8.2.0.crate) = 78784707d8b7b01a59b60bfb0f1386150af78e97b191585a67801de7f91c493f8dc03aa6a54533e724d5a4274af6f7602a5dc4dd3a1399ed75fcf9c86f32b5f9
+SHA512 (rustyline-12.0.0.crate) = 681d9183430dbe861252177570c7d5a3eec8a066a0d9f281191c7583d1cce297930f9b5dac1b76161ced0b8586ad9e3e7a78f75253e63ae4d0528210ced87f5a
^ 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 12.0.0; Fixes RHBZ#1994691 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox