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: initial import (#1797366)
Date: Thu, 24 Sep 2026 23:38:44 GMT [thread overview]
Message-ID: <179029312417.1.6070708763367634324.rpms-rust-rustyline-465ce59944cf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-rustyline
Branch : epel9
Commit : 465ce59944cff58bf975ffe225791aab2ce4165d
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2020-02-12T11:55:24+01:00
Stats : +122/-3 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-rustyline/c/465ce59944cff58bf975ffe225791aab2ce4165d?branch=epel9
Log:
initial import (#1797366)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..acdd1a8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*
+/*.src.rpm
+
+/rustyline-6.0.0.crate
diff --git a/00-Cargo-no-windows-deps.patch b/00-Cargo-no-windows-deps.patch
new file mode 100644
index 0000000..41ccf99
--- /dev/null
+++ b/00-Cargo-no-windows-deps.patch
@@ -0,0 +1,14 @@
+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/README.md b/README.md
deleted file mode 100644
index 68ef034..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-rustyline
-
-The rust-rustyline package
\ No newline at end of file
diff --git a/rust-rustyline.spec b/rust-rustyline.spec
new file mode 100644
index 0000000..36a3e57
--- /dev/null
+++ b/rust-rustyline.spec
@@ -0,0 +1,103 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate rustyline
+
+Name: rust-%{crate}
+Version: 6.0.0
+Release: 1%{?dist}
+Summary: Readline implementation based on Antirez's Linenoise
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/rustyline
+Source: %{crates_source}
+
+# drop unavailable, windows-specific dependencies
+Patch0: 00-Cargo-no-windows-deps.patch
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Readline implementation based on Antirez's Linenoise.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+dirs-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+dirs-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "dirs" feature of "%{crate}" crate.
+
+%files -n %{name}+dirs-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+with-dirs-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+with-dirs-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun Feb 02 2020 Fabio Valentini <decathorpe@gmail.com> - 6.0.0-1
+- Initial package
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..a7a0fac
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (rustyline-6.0.0.crate) = cb1dc759b310bde887f314d916a914d557b3aaa585033565a5e212767ac6e6b576f3465daf5db865454ae526761c55069e5387d6aef21cd1ac052da69d0242b2
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=179029312417.1.6070708763367634324.rpms-rust-rustyline-465ce59944cf@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