public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/btop] f43: Limit EPEL builds to x86_64 to match rocm-smi
@ 2026-05-31 13:31 Carl George
  0 siblings, 0 replies; only message in thread
From: Carl George @ 2026-05-31 13:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/btop
            Branch : f43
            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=f43

            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
 

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

only message in thread, other threads:[~2026-05-31 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 13:31 [rpms/btop] f43: Limit EPEL builds to x86_64 to match rocm-smi Carl George

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