public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/fast_float] f44: Simplify setting Boolean CMake options based on build conditionals
Date: Wed, 16 Sep 2026 21:01:17 GMT	[thread overview]
Message-ID: <178959247749.1.8360297097383011026.rpms-fast_float-3675f5125fa1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/fast_float
Branch : f44
Commit : 3675f5125fa1a4414fda0b3b01b521d9ff03f9e2
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-12T08:21:16+01:00
Stats  : +2/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/fast_float/c/3675f5125fa1a4414fda0b3b01b521d9ff03f9e2?branch=f44

Log:
Simplify setting Boolean CMake options based on build conditionals

---
diff --git a/fast_float.spec b/fast_float.spec
index 1c45bd2..3e24300 100644
--- a/fast_float.spec
+++ b/fast_float.spec
@@ -32,16 +32,8 @@ Source1:        %{stf_url}/archive/%{stf_commit}/supplemental_test_files-%{stf_c
 BuildSystem:    cmake
 BuildOption(conf): -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON
 BuildOption(conf): -DSYSTEM_DOCTEST:BOOL=ON
-%if %{with ctest}
-BuildOption(conf): -DFASTFLOAT_TEST:BOOL=ON
-%else
-BuildOption(conf): -DFASTFLOAT_TEST:BOOL=OFF
-%endif
-%if %{with exhaustive}
-BuildOption(conf): -DFASTFLOAT_EXHAUSTIVE:BOOL=ON
-%else
-BuildOption(conf): -DFASTFLOAT_EXHAUSTIVE:BOOL=OFF
-%endif
+BuildOption(conf): -DFASTFLOAT_TEST:BOOL=%{with ctest}
+BuildOption(conf): -DFASTFLOAT_EXHAUSTIVE:BOOL=%{with exhaustive}
 
 BuildRequires:  gcc-c++
 

                 reply	other threads:[~2026-09-16 21:01 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=178959247749.1.8360297097383011026.rpms-fast_float-3675f5125fa1@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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