public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xnvme] f45: Build only for x86_64 and aarch64
@ 2026-11-24 14:56 Karl Bonde Torp
  0 siblings, 0 replies; only message in thread
From: Karl Bonde Torp @ 2026-11-24 14:56 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/xnvme
            Branch : f45
            Commit : e9892576f22ebf50eca29b4a4b76aab793ee4e72
            Author : Karl Bonde Torp <k.torp@samsung.com>
            Date   : 2026-11-24T14:55:15+00:00
            Stats  : +4/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/xnvme/c/e9892576f22ebf50eca29b4a4b76aab793ee4e72?branch=f45

            Log:
            Build only for x86_64 and aarch64

xNVMe 0.8 no longer builds or passes its tests on ppc64le and s390x. The
uPCIe backend, enabled by default, has memory barriers for x86_64 and
aarch64 alone, and on big-endian s390x xnvme cmd-admin sends every
command with opcode 0. Upstream builds and tests only x86_64 and
aarch64, so build for those.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Karl Bonde Torp <k.torp@samsung.com>

---
diff --git a/xnvme.spec b/xnvme.spec
index c3410e2..8056a14 100644
--- a/xnvme.spec
+++ b/xnvme.spec
@@ -7,9 +7,9 @@ License:        BSD-3-Clause
 URL:            https://github.com/xnvme/xnvme
 Source:         %{url}/releases/download/v%{version}/xnvme-%{version}.tar.gz
 
-# The package makes 64 bit assumptions so exclude 32 bit i686.
-# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
-ExcludeArch:    %{ix86}
+# Upstream builds and tests only x86_64 and aarch64; the uPCIe backend has
+# memory barriers for those alone, and xnvme cmd-admin assumes little-endian
+ExclusiveArch:  x86_64 aarch64
 
 BuildRequires:  meson
 BuildRequires:  gcc
@@ -93,6 +93,7 @@ Requires:       %{name}%{?_isa} = %{version}-%{release}
 - Bump to v0.8.1
 - Drop the rpath patch; upstream omits the rpath for a /usr prefix
 - Package the xnvme front-end, its libexec programs and the homi/qublk systemd units
+- Build only for x86_64 and aarch64, the architectures upstream supports
 
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild

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

only message in thread, other threads:[~2026-11-24 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24 14:56 [rpms/xnvme] f45: Build only for x86_64 and aarch64 Karl Bonde Torp

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