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] f45: Better BuildOption formatting
Date: Wed, 16 Sep 2026 20:49:11 GMT [thread overview]
Message-ID: <178959175121.1.8777039298503178985.rpms-fast_float-0da5627d792d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fast_float
Branch : f45
Commit : 0da5627d792dd2ccd2f30b002d1e40c754ed7339
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-07T21:47:14+01:00
Stats : +12/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fast_float/c/0da5627d792dd2ccd2f30b002d1e40c754ed7339?branch=f45
Log:
Better BuildOption formatting
---
diff --git a/fast_float.spec b/fast_float.spec
index e50d694..1c45bd2 100644
--- a/fast_float.spec
+++ b/fast_float.spec
@@ -30,12 +30,18 @@ Source0: %{url}/archive/v%{version}/fast_float-%{version}.tar.gz
Source1: %{stf_url}/archive/%{stf_commit}/supplemental_test_files-%{stf_commit}.tar.gz
BuildSystem: cmake
-BuildOption(conf): %{shrink:
- -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON
- -DSYSTEM_DOCTEST:BOOL=ON
- -DFASTFLOAT_TEST:BOOL=%{?with_ctest:ON}%{?!with_ctest:OFF}
- -DFASTFLOAT_EXHAUSTIVE:BOOL=%{?with_exhaustive:ON}%{?!with_exhaustive:OFF}
- }
+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
BuildRequires: gcc-c++
reply other threads:[~2026-09-16 20:49 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=178959175121.1.8777039298503178985.rpms-fast_float-0da5627d792d@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