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

A new commit has been pushed.

Repo   : rpms/lexertl17
Branch : rawhide
Commit : 5e8118adb0c911ac34cc784e6b3baa72fe720e20
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-09T06:16:02+01:00
Stats  : +6/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/lexertl17/c/5e8118adb0c911ac34cc784e6b3baa72fe720e20?branch=rawhide

Log:
Better BuildOption formatting

---
diff --git a/lexertl17.spec b/lexertl17.spec
index eeec362..afc912d 100644
--- a/lexertl17.spec
+++ b/lexertl17.spec
@@ -20,10 +20,12 @@ URL:            https://github.com/BenHanson/lexertl17
 Source:         %{url}/archive/%{version}/lexertl17-%{version}.tar.gz
 
 BuildSystem:    cmake
-BuildOption(conf): %{shrink:
-    -DBUILD_TESTING:BOOL=%{?with_ctest:ON}%{?!with_ctest:OFF}
-    -DBUILD_EXAMPLES:BOOL=ON
-    }
+%if %{with ctest}
+BuildOption(conf): -DBUILD_TESTING:BOOL=ON
+%else
+BuildOption(conf): -DBUILD_TESTING:BOOL=OFF
+%endif
+BuildOption(conf): -DBUILD_EXAMPLES:BOOL=ON
 
 %if %{undefined fc43}
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval

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

only message in thread, other threads:[~2026-09-09  5:22 UTC | newest]

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