public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karl Bonde Torp <k.torp@samsung.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xnvme] f45: Build only for x86_64 and aarch64
Date: Tue, 24 Nov 2026 14:56:01 GMT	[thread overview]
Message-ID: <179553216112.1.14601436991534394880.rpms-xnvme-e9892576f22e@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-24 14:56 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=179553216112.1.14601436991534394880.rpms-xnvme-e9892576f22e@fedoraproject.org \
    --to=k.torp@samsung.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