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/binutils] rawhide: Replace %bcond_with and %bcond_without with %bcond [0|1]
Date: Thu, 13 Aug 2026 13:10:01 GMT	[thread overview]
Message-ID: <178662660113.1.11477769749274486297.rpms-binutils-064736651b89@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/binutils
Branch : rawhide
Commit : 064736651b89494733eca3d837409a8147073f08
Author : Nick Clifton <nickc@redhat.com>
Date   : 2026-08-13T14:09:50+01:00
Stats  : +24/-22 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/binutils/c/064736651b89494733eca3d837409a8147073f08?branch=rawhide

Log:
Replace %bcond_with and %bcond_without with %bcond [0|1]

---
diff --git a/binutils.spec b/binutils.spec
index 9c81204..dca5619 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -7,7 +7,7 @@ Name: binutils%{?_with_debug:-debug}
 # The variable %%{source} (see below) should be set to indicate which of these
 # origins is being used.
 Version: 2.47.50
-Release: 2%{?dist}
+Release: 3%{?dist}
 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
 
@@ -138,42 +138,45 @@ URL: https://sourceware.org/binutils
 #----End of Configure Options------------------------------------------------
 
 # Default: Not bootstrapping.
-%bcond_with bootstrap
+%bcond bootstrap 0
 # Default: Not debug
-%bcond_with debug
+%bcond debug 0
 # Default: support debuginfod.
-%bcond_without debuginfod
+%bcond debuginfod 1
 # Default: Always build documentation.
-%bcond_without docs
+%bcond docs 1
 # Default: build binutils-gprofng package.
-%bcond_without gprofng
+%bcond gprofng 1
 # Default: Use the system supplied version of the zlib compression library.
-%bcond_without systemzlib
+%bcond systemzlib 1
 # Default: Always run the testsuite.
-%bcond_without testsuite
+%bcond testsuite 1
 # Default: Use the xxhash-devel library.
-%bcond_without xxhash
+%bcond xxhash 1
 # Default: Use the libztsd-devel library.
-%bcond_without zstd
+%bcond zstd 1
+# Default: Do not create cross targeted versions of the binutils.
+%bcond crossbuilds 0
 
-# Note - in the future the gold linker will become deprecated.
+# Note - in the future the gold linker will become deprecated in Fedora.
+# And it will be deprecated in RHEL-11.
 %if 0%{?rhel} >= 11
-%bcond_with gold
+%bcond gold 0
 %else
+# RISC-V does not have ld.gold thus disable by default.
 %ifnarch riscv64
-%bcond_without gold
+%bcond gold 0
 %else
-# RISC-V does not have ld.gold thus disable by default.
-%bcond_with gold
+%bcond gold 1
 %endif
 %endif
 
 # Allow the user to override the compiler used to build the binutils.
 # The default build compiler is gcc if %%toolchain is not clang.
 %if "%toolchain" == "clang"
-%bcond_without clang
+%bcond clang 1
 %else
-%bcond_with clang
+%bcond clang 0
 %endif
 
 %if %{with clang}
@@ -182,10 +185,6 @@ URL: https://sourceware.org/binutils
 %global toolchain gcc
 %endif
 
-# (Do not) create cross targeted versions of the binutils.
-%bcond_with crossbuilds
-# %%bcond_without crossbuilds
-
 %if %{with bootstrap}
 %undefine with_docs
 %undefine with_testsuite
@@ -1501,8 +1500,11 @@ exit 0
 
 #----------------------------------------------------------------------------
 %changelog
+* Thu Aug 13 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-3
+- Switch from using %%bcond_with and %%bcond_without to just %%bcond <0|1>
+
 * Thu Aug 13 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-2
-- Re-enable the gold linker - for now.
+- Re-enable the gold linker - for now - for Rawhide.
 
 * Wed Aug 12 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-1
 - Rebase to commit 4e8ba93fdb2.

                 reply	other threads:[~2026-08-13 13:10 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=178662660113.1.11477769749274486297.rpms-binutils-064736651b89@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