From ec1d11ed97a19f3408e7c701cbe149e2811e36e8 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Tue, 7 Jul 2026 19:35:43 -0400 Subject: [PATCH] rteval: Make dmidecode requirement architecture-specific dmidecode is not available on s390x and other architectures. The code already handles missing dmidecode gracefully, so make the requirement architecture-specific to allow installation on platforms without DMI tables. Related: RHEL-192970 Signed-off-by: John Kacur --- rteval.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rteval.spec b/rteval.spec index fbbbf53..c739c20 100644 --- a/rteval.spec +++ b/rteval.spec @@ -27,11 +27,14 @@ Requires: stress-ng Requires: perl-interpreter, perl-devel, perl-generators Requires: libmpc, libmpc-devel Requires: dwarves -Requires: dmidecode Requires: procps-ng Requires: rtla BuildArch: noarch +%ifarch x86_64 i386 i686 aarch64 +Requires: dmidecode +%endif + #Patches Patch1: rteval-Make-thread-excepthook-portable-and-support-c.patch Patch2: rteval-3.10-fix-pyproject-license.patch @@ -71,6 +74,7 @@ to the screen. * Tue Jul 07 2026 John Kacur - 3.10-2 - Make thread excepthook portable and support chaining - Fix pyproject.toml license format deprecation warning +- Make dmidecode requirement architecture-specific Resolves: RHEL-192970 * Wed Nov 19 2025 John Kacur - 3.10-1