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

A new commit has been pushed.

Repo   : rpms/tlfloat
Branch : rawhide
Commit : 0bd968e386fd8054219a9d6563f7c4de10625e40
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-12T08:18:48+01:00
Stats  : +5/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/tlfloat/c/0bd968e386fd8054219a9d6563f7c4de10625e40?branch=rawhide

Log:
Better BuildOption formatting

---
diff --git a/tlfloat.spec b/tlfloat.spec
index e8095a8..4beb1d5 100644
--- a/tlfloat.spec
+++ b/tlfloat.spec
@@ -26,15 +26,13 @@ Patch:          %{url}/commit/c44b279033be35c55efa74267259f5df4321c213.patch
 BuildSystem:    cmake
 # BUILD_UTILS: These utilities (genmathcoef, mkrpitab) are intended for library
 # maintainers, and are not installed, so we do not build them.
-BuildOption(conf): %{shrink:
-    -DBUILD_TESTS:BOOL=%{?with_ctest:ON}%{?!with_ctest:OFF}
-    -DBUILD_UTILS:BOOL=OFF
-    -DBUILD_EXHAUSTIVE_TESTING:BOOL=%{?with_exhaustive:ON}%{?!with_exhaustive:OFF}
-    -DENABLE_EXHAUSTIVE_TESTING:BOOL=%{?with_exhaustive:ON}%{?!with_exhaustive:OFF}
-    }
+BuildOption(conf): -DBUILD_TESTS:BOOL=%{with ctest}
+BuildOption(conf): -DBUILD_UTILS:BOOL=OFF
+BuildOption(conf): -DBUILD_EXHAUSTIVE_TESTING:BOOL=%{with exhaustive}
+BuildOption(conf): -DENABLE_EXHAUSTIVE_TESTING:BOOL=%{with exhaustive}
+%if %{with exhaustive}
 # Set a one-week timeout if we are doing exhaustive tests. See notes above the
 # conditional; these may take over a day on some server-class hardware.
-%if %{with exhaustive}
 BuildOption(check): --timeout 604800
 %endif
 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-12  7:20 [rpms/tlfloat] 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