public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-getch] rawhide: Regenerate with rust2rpm v28
@ 2026-07-31 21:01 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-31 21:01 UTC (permalink / raw)
  To: git-commits

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"
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-31 21:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31 21:01 [rpms/rust-getch] rawhide: Regenerate with rust2rpm v28 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox