public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cross-binutils] rawhide: Disable building crosses for AArch64, PowerPC, s390x and x86_64.
@ 2026-09-15  7:50 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2026-09-15  7:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/cross-binutils
            Branch : rawhide
            Commit : 422689f2201673b35a250b506a2746f381e2fd53
            Author : Nick Clifton <nickc@redhat.com>
            Date   : 2026-09-14T18:05:18+01:00
            Stats  : +16/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/cross-binutils/c/422689f2201673b35a250b506a2746f381e2fd53?branch=rawhide

            Log:
            Disable building crosses for AArch64, PowerPC, s390x and x86_64.
Resolves: #2523594

---
diff --git a/cross-binutils.spec b/cross-binutils.spec
index 489bdbf..7402779 100644
--- a/cross-binutils.spec
+++ b/cross-binutils.spec
@@ -1,8 +1,16 @@
 %global cross cross
 %global rpmprefix %{nil}
 
+%if 0%{?fedora} >= 46 || 0%{?rhel} >= 11                                                                                                                                             
+# In FC46+ and RHEL-11+ the binutils package provides cross binutils for the RHEL architectures.
+%global build_base             0                                                                                                                                                     
+%else                                                                                                                                                                                
+%global build_base             1                                                                                                                                                     
+%endif                                                                                                                                                                               
+
 %global build_all		1
-%global build_aarch64		%{build_all}
+
+%global build_aarch64           %{build_base}                                                                                                                                         
 %global build_alpha		%{build_all}
 %global build_arc		%{build_all}
 %global build_arm		%{build_all}
@@ -25,15 +33,15 @@
 %global build_mn10300		%{build_all}
 %global build_openrisc		%{build_all}
 %global build_powerpc64		%{build_all}
-%global build_powerpc64le	%{build_all}
+%global build_powerpc64le	%{build_base}
 %global build_riscv32		%{build_all}
 %global build_riscv64		%{build_all}
-%global build_s390x		%{build_all}
+%global build_s390x		%{build_base}
 %global build_score		%{build_all}
 %global build_sh		%{build_all}
 %global build_sparc64		%{build_all}
 %global build_tile		%{build_all}
-%global build_x86_64		%{build_all}
+%global build_x86_64		%{build_base}
 %global build_xtensa		%{build_all}
 
 # 32-bit packages we don't build as we can use the 64-bit package instead
@@ -66,7 +74,7 @@
 
 Name: %{cross}-binutils
 Version: 2.47
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: A GNU collection of cross-compilation binary utilities
 License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
 URL: https://sourceware.org/binutils
@@ -784,6 +792,9 @@ cd -
 %do_files xtensa-linux-gnu	%{build_xtensa}
 
 %changelog
+* Mon Sep 14 2026 Jakub Jelinek <jakub@redhat.com>- 2.47-2
+- Disable building crosses for AArch64, PowerPC, s390x and x86_64.  (#2523594)
+
 * Tue Sep 08 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 2.47-1
 - Update to 2.47
 

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

only message in thread, other threads:[~2026-09-15  7:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15  7:50 [rpms/cross-binutils] rawhide: Disable building crosses for AArch64, PowerPC, s390x and x86_64 Nick Clifton

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