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

A new commit has been pushed.

Repo   : rpms/dr_libs
Branch : rawhide
Commit : 95223eac14d2e745b843d69a0453b4afc1c14afd
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-11T10:20:36+01:00
Stats  : +5/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/dr_libs/c/95223eac14d2e745b843d69a0453b4afc1c14afd?branch=rawhide

Log:
Better BuildOption formatting

---
diff --git a/dr_libs.spec b/dr_libs.spec
index 95d0a0e..8b6f730 100644
--- a/dr_libs.spec
+++ b/dr_libs.spec
@@ -25,9 +25,11 @@ License:        Unlicense OR MIT-0
 Source:        %{url}/archive/%{commit}/dr_libs-%{commit}.tar.gz
 
 BuildSystem:    cmake
-BuildOption(conf): %{shrink:
-    -DDR_LIBS_BUILD_TESTS:BOOL=%{?with_ctest:ON}%{?!with_ctest:OFF}
-    }
+%if %{with ctest}
+BuildOption(conf): -DDR_LIBS_BUILD_TESTS:BOOL=ON
+%else
+BuildOption(conf): -DDR_LIBS_BUILD_TESTS:BOOL=OFF
+%endif
 BuildOption(check): --exclude-regex "${skips}"
 
 BuildRequires:  gcc-c++

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

only message in thread, other threads:[~2026-09-11  9:23 UTC | newest]

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