From 7d56915e59cd8b79f3ae3bd4e7f86b664b2287f0 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Mon, 9 Mar 2026 13:52:02 +0100 Subject: [PATCH] Fix architecture list Explicitly limit to x86 and ARM instead of explicitly excluding all other architectures. This ensures that the package keeps behaving correctly as more architectures (e.g. riscv64) are introduced. Resolves: RHEL-154273 Signed-off-by: Andrea Bolognani --- libcpuid.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libcpuid.spec b/libcpuid.spec index 740dd22..551b19d 100644 --- a/libcpuid.spec +++ b/libcpuid.spec @@ -1,6 +1,6 @@ Name: libcpuid Version: 0.7.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Provides CPU identification for x86 and ARM License: BSD-2-Clause URL: https://github.com/anrieff/libcpuid @@ -8,7 +8,7 @@ Source0: https://github.com/anrieff/libcpuid/archive/v%{version}.tar.gz#/ # https://github.com/anrieff/libcpuid/pull/203 Patch0: 0001-Python-Refactor-the-build-of-the-bindings.patch Patch1: 0002-Python-Do-not-fail-sanity-tests-if-current-CPU-is-un.patch -ExcludeArch: ppc64le s390x +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 BuildRequires: automake BuildRequires: autoconf @@ -90,6 +90,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} %pytest python/tests %changelog +* Mon Mar 09 2026 Andrea Bolognani - 0.7.0-3 +- Fix architecture list (explicitly limit to x86 and ARM) + Resolves: RHEL-154273 + * Tue Oct 29 2024 Troy Dawson - 0.7.0-2 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018