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: Regenerate with rust2rpm v24
Date: Thu, 24 Sep 2026 23:38:50 GMT [thread overview]
Message-ID: <179029313099.1.12399208881398180395.rpms-rust-rustyline-6852b9d4d023@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-rustyline
Branch : epel9
Commit : 6852b9d4d023870f09553c6487520226fcf9f4ce
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-05-21T14:57:15+02:00
Stats : +48/-50 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-rustyline/c/6852b9d4d023870f09553c6487520226fcf9f4ce?branch=epel9
Log:
Regenerate with rust2rpm v24
---
diff --git a/rust-rustyline.spec b/rust-rustyline.spec
index 6601b81..8d572f7 100644
--- a/rust-rustyline.spec
+++ b/rust-rustyline.spec
@@ -1,31 +1,24 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate rustyline
-Name: rust-%{crate}
+Name: rust-rustyline
Version: 8.2.0
Release: %autorelease
Summary: Readline implementation based on Antirez's Linenoise
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/rustyline
Source: %{crates_source}
-# Initial patched metadata
-# * drop windows-only dependencies
-Patch0: rustyline-fix-metadata.diff
+# Automatically generated patch to strip foreign dependencies
+Patch: rustyline-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Readline implementation based on Antirez's Linenoise.}
+Rustyline, a readline implementation based on Antirez's Linenoise.}
%description %{_description}
@@ -35,13 +28,18 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc examples TODO.md README.md Incremental.md History.md CustomBinding.md BUGS.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/BUGS.md
+%doc %{crate_instdir}/CustomBinding.md
+%doc %{crate_instdir}/History.md
+%doc %{crate_instdir}/Incremental.md
+%doc %{crate_instdir}/README.md
+%doc %{crate_instdir}/TODO.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -49,11 +47,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dirs-next-devel
Summary: %{summary}
@@ -61,11 +59,11 @@ BuildArch: noarch
%description -n %{name}+dirs-next-devel %{_description}
-This package contains library source intended for building other packages
-which use "dirs-next" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "dirs-next" feature of the "%{crate}" crate.
%files -n %{name}+dirs-next-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+skim-devel
Summary: %{summary}
@@ -73,11 +71,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "skim" feature of the "%{crate}" crate.
%files -n %{name}+skim-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-dirs-devel
Summary: %{summary}
@@ -85,11 +83,11 @@ BuildArch: noarch
%description -n %{name}+with-dirs-devel %{_description}
-This package contains library source intended for building other packages
-which use "with-dirs" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "with-dirs" feature of the "%{crate}" crate.
%files -n %{name}+with-dirs-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-fuzzy-devel
Summary: %{summary}
@@ -97,11 +95,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "with-fuzzy" feature of the "%{crate}" crate.
%files -n %{name}+with-fuzzy-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/rustyline-fix-metadata-auto.diff b/rustyline-fix-metadata-auto.diff
new file mode 100644
index 0000000..de51f49
--- /dev/null
+++ b/rustyline-fix-metadata-auto.diff
@@ -0,0 +1,17 @@
+--- 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 @@
+
+ [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", "std", "winbase", "wincon", "winuser"]
+ [badges.maintenance]
+ status = "actively-developed"
diff --git a/rustyline-fix-metadata.diff b/rustyline-fix-metadata.diff
deleted file mode 100644
index aea5e18..0000000
--- a/rustyline-fix-metadata.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- 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", "std", "winbase", "wincon", "winuser"]
- [badges.maintenance]
- status = "actively-developed"
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=179029313099.1.12399208881398180395.rpms-rust-rustyline-6852b9d4d023@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