public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fast_float] rawhide: Better BuildOption formatting
@ 2026-09-07 20:51 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-07 20:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/fast_float
Branch : rawhide
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=rawhide

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++
 

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

only message in thread, other threads:[~2026-09-07 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 20:51 [rpms/fast_float] rawhide: Better BuildOption formatting Benjamin A. Beasley

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