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-getch] rawhide: Regenerate with rust2rpm v28
Date: Fri, 31 Jul 2026 21:01:16 GMT [thread overview]
Message-ID: <178553167616.1.178602952920528960.rpms-rust-getch-910e57951864@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-getch
Branch : rawhide
Commit : 910e5795186409ce47f22538e1bb60b8b61947ab
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-31T23:00:58+02:00
Stats : +14/-13 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-getch/c/910e5795186409ce47f22538e1bb60b8b61947ab?branch=rawhide
Log:
Regenerate with rust2rpm v28
---
diff --git a/README.md b/README.md
deleted file mode 100644
index e8b4226..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-getch
-
-The rust-getch package
\ No newline at end of file
diff --git a/getch-fix-metadata-auto.diff b/getch-fix-metadata-auto.diff
index 47cb3a3..32627a8 100644
--- a/getch-fix-metadata-auto.diff
+++ b/getch-fix-metadata-auto.diff
@@ -1,8 +1,9 @@
--- getch-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ getch-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
-@@ -21,5 +21,3 @@
++++ getch-0.3.1/Cargo.toml 2026-07-31T20:59:44.029363+00:00
+@@ -21,5 +21,4 @@
repository = "https://nest.pijul.com/pmeunier/getch"
[target."cfg(unix)".dependencies.termios]
version = "0.3.3"
-[target."cfg(windows)".dependencies.libc]
-version = "0.2"
++
diff --git a/rust-getch.spec b/rust-getch.spec
index 32d354b..75e0ce3 100644
--- a/rust-getch.spec
+++ b/rust-getch.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 22
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate getch
@@ -13,15 +13,14 @@ Summary: Portable implementation of getch
License: Apache-2.0
URL: https://crates.io/crates/getch
Source: %{crates_source}
-# Automatically generated patch to strip foreign dependencies
+# Automatically generated patch to strip dependencies and normalize metadata
Patch: getch-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
-Portable implementation of getch, using _getch on Windows, and termios on Unix.}
+A portable implementation of getch, using _getch on Windows, and termios
+on Unix.}
%description %{_description}
@@ -35,6 +34,7 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
+# FIXME: no license files detected
%{crate_instdir}/
%package -n %{name}+default-devel
@@ -50,7 +50,7 @@ use the "default" feature of the "%{crate}" crate.
%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..b945e14
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,3 @@
+[package]
+summary = "Portable implementation of getch"
+
reply other threads:[~2026-07-31 21:01 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=178553167616.1.178602952920528960.rpms-rust-getch-910e57951864@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