public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carl George <carlwgeorge@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/btop] f44: Limit EPEL builds to x86_64 to match rocm-smi
Date: Sun, 31 May 2026 13:31:14 GMT	[thread overview]
Message-ID: <178023427471.1.5562530026540040627.rpms-btop-abfffa3cf1cf@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/btop
            Branch : f44
            Commit : abfffa3cf1cfdb3dd8c6739fb920409b2e62920e
            Author : Carl George <carlwgeorge@fedoraproject.org>
            Date   : 2026-02-25T16:10:05-06:00
            Stats  : +16/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/btop/c/abfffa3cf1cfdb3dd8c6739fb920409b2e62920e?branch=f44

            Log:
            Limit EPEL builds to x86_64 to match rocm-smi

https://bugzilla.redhat.com/show_bug.cgi?id=2442214

---
diff --git a/btop.spec b/btop.spec
index 7eb0fea..39bf339 100644
--- a/btop.spec
+++ b/btop.spec
@@ -1,8 +1,19 @@
 %undefine _hardened_build
 
+# AMD GPU support needs rocm-smi, but it is not available on all architectures.
+%if %{defined rhel}
+%ifarch x86_64
+%bcond_without amdgpu
+%endif
+%else
+%ifarch x86_64 aarch64 ppc64le riscv64
+%bcond_without amdgpu
+%endif
+%endif
+
 Name:           btop
 Version:        1.4.6
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Modern and colorful command line resource monitor that shows usage and stats
 
 # The entire source code is ASL 2.0 except:
@@ -35,7 +46,7 @@ BuildRequires:  gcc-toolset-14-binutils
 %endif
 
 # AMD GPU support
-%ifnarch i686 s390x
+%if %{with amdgpu}
 BuildRequires:  rocm-smi-devel
 Recommends: rocm-smi
 %endif
@@ -89,6 +100,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/btop.desktop
 
 
 %changelog
+* Wed Feb 25 2026 Carl George <carlwgeorge@fedoraproject.org> - 1.4.6-6
+- Limit EPEL builds to x86_64 to match rocm-smi rhbz#2442214
+
 * Tue Feb 24 2026 Carl George <carlwgeorge@fedoraproject.org> - 1.4.6-5
 - Enable AMD GPU support on EPEL rhbz#2442214
 

                 reply	other threads:[~2026-05-31 13:31 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=178023427471.1.5562530026540040627.rpms-btop-abfffa3cf1cf@fedoraproject.org \
    --to=carlwgeorge@fedoraproject.org \
    --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