public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/cross-binutils] rawhide: Disable building crosses for AArch64, PowerPC, s390x and x86_64.
Date: Tue, 15 Sep 2026 07:50:34 GMT	[thread overview]
Message-ID: <178945863425.1.11335787561494613738.rpms-cross-binutils-422689f22016@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-09-15  7:50 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=178945863425.1.11335787561494613738.rpms-cross-binutils-422689f22016@fedoraproject.org \
    --to=nickc@redhat.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