public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/luminance-hdr] f44: Better BuildOption formatting
@ 2026-11-10 22:17 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-10 22:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/luminance-hdr
Branch : f44
Commit : a82a7a315e70fd2a330eeabdc703609749545a0c
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-10T22:15:27+00:00
Stats : +6/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/luminance-hdr/c/a82a7a315e70fd2a330eeabdc703609749545a0c?branch=f44
Log:
Better BuildOption formatting
---
diff --git a/luminance-hdr.spec b/luminance-hdr.spec
index 1bec409..5b7a2cf 100644
--- a/luminance-hdr.spec
+++ b/luminance-hdr.spec
@@ -135,10 +135,12 @@ Patch: %{forgeurl}/pull/288.patch
Patch: %{forgeurl}/pull/284.patch
BuildSystem: cmake
-BuildOption(conf): %{shrink:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DENABLE_UNIT_TEST:BOOL=%{?with_ctest:ON}%{?!with_ctest:OFF}
- }
+BuildOption(conf): -DCMAKE_BUILD_TYPE=RelWithDebInfo
+%if %{with ctest}
+BuildOption(conf): -DENABLE_UNIT_TEST:BOOL=ON
+%else
+BuildOption(conf): -DENABLE_UNIT_TEST:BOOL=OFF
+%endif
BuildOption(check): --exclude-regex "^Test(${x})\$"
BuildRequires: gcc-c++
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 22:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 22:17 [rpms/luminance-hdr] f44: 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