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

A new commit has been pushed.

Repo   : rpms/rust-terminal_size0.1
Branch : rawhide
Commit : df289837a0637866e8bd57a3c6e21e520edee400
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-16T23:05:13+02:00
Stats  : +15/-12 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-terminal_size0.1/c/df289837a0637866e8bd57a3c6e21e520edee400?branch=rawhide

Log:
Regenerate with rust2rpm v28

---
diff --git a/README.md b/README.md
deleted file mode 100644
index 23f07cd..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-terminal_size0.1
-
-The rust-terminal_size0.1 package

diff --git a/rust-terminal_size0.1.spec b/rust-terminal_size0.1.spec
index a98acdf..aaeb8e0 100644
--- a/rust-terminal_size0.1.spec
+++ b/rust-terminal_size0.1.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 23
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate terminal_size
@@ -12,10 +12,10 @@ Summary:        Gets the size of your Linux or Windows terminal
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/terminal_size
 Source:         %{crates_source}
-# Automatically generated patch to strip foreign dependencies
+# Automatically generated patch to strip dependencies and normalize metadata
 Patch:          terminal_size-fix-metadata-auto.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Gets the size of your Linux or Windows terminal.}
@@ -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
@@ -64,8 +64,8 @@ use the "default" feature of the "%{crate}" crate.
 
 %if %{with check}
 %check
-# stty: /dev/stderr: Inappropriate ioctl for device
-%cargo_test -- -- --skip unix::compare_with_stty
+# * skip tests that only work on an interactive TTY
+%cargo_test -- -- --exact --skip unix::compare_with_stty
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..3074d31
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[tests]
+skip = ["unix::compare_with_stty"]
+skip-exact = true
+comments = ["skip tests that only work on an interactive TTY"]
+

diff --git a/terminal_size-fix-metadata-auto.diff b/terminal_size-fix-metadata-auto.diff
index 6814a74..156e96f 100644
--- a/terminal_size-fix-metadata-auto.diff
+++ b/terminal_size-fix-metadata-auto.diff
@@ -1,9 +1,10 @@
 --- terminal_size-0.1.17/Cargo.toml	1970-01-01T00:00:00+00:00
-+++ terminal_size-0.1.17/Cargo.toml	1970-01-01T00:00:00+00:00
-@@ -22,6 +22,3 @@
++++ terminal_size-0.1.17/Cargo.toml	2026-08-16T21:04:34.808103+00:00
+@@ -22,6 +22,4 @@
  repository = "https://github.com/eminence/terminal-size"
  [target."cfg(not(windows))".dependencies.libc]
  version = "0.2"
 -[target."cfg(windows)".dependencies.winapi]
 -version = "0.3"
 -features = ["handleapi", "processenv", "winbase", "wincon", "winnt"]
++

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

only message in thread, other threads:[~2026-08-16 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-16 21:05 [rpms/rust-terminal_size0.1] 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