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-terminal_size0.1] rawhide: Regenerate with rust2rpm v28
Date: Sun, 16 Aug 2026 21:05:33 GMT [thread overview]
Message-ID: <178691433324.1.18266246450806523754.rpms-rust-terminal_size0.1-df289837a063@fedoraproject.org> (raw)
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"]
++
reply other threads:[~2026-08-16 21:05 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=178691433324.1.18266246450806523754.rpms-rust-terminal_size0.1-df289837a063@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