public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/wlcs] rawhide: Better BuildOption formatting
@ 2026-09-12 9:20 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-12 9:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/wlcs
Branch : rawhide
Commit : 885d572bf0026ebe47a17a572c9f26f3a0d6fb73
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-12T10:16:58+01:00
Stats : +5/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/wlcs/c/885d572bf0026ebe47a17a572c9f26f3a0d6fb73?branch=rawhide
Log:
Better BuildOption formatting
---
diff --git a/wlcs.spec b/wlcs.spec
index 7dca8f9..5e42df4 100644
--- a/wlcs.spec
+++ b/wlcs.spec
@@ -84,14 +84,11 @@ URL: https://github.com/MirServer/wlcs
Source: %{url}/archive/v%{version}/wlcs-%{version}.tar.gz
BuildSystem: cmake
-# WLCS_FATAL_COMPILE_WARNINGS: makes sense for upstream CI, but too strict for
-# downstream packaging
-BuildOption(conf): %{shrink:
- -DWLCS_BUILD_ASAN=%{?with_asan:ON}%{?!with_asan:OFF}
- -DWLCS_BUILD_TSAN=%{?with_tsan:ON}%{?!with_tsan:OFF}
- -DWLCS_BUILD_UBSAN=%{?with_ubsan:ON}%{?!with_ubsan:OFF}
- -DWLCS_FATAL_COMPILE_WARNINGS:BOOL=OFF
- }
+BuildOption(conf): -DWLCS_BUILD_ASAN=%{with asan}
+BuildOption(conf): -DWLCS_BUILD_TSAN=%{with tsan}
+BuildOption(conf): -DWLCS_BUILD_UBSAN=%{with ubsan}
+# Makes sense for upstream CI, but too strict for downstream packaging
+BuildOption(conf): -DWLCS_FATAL_COMPILE_WARNINGS:BOOL=OFF
# We have built a test suite for compositors, but we have no tests for the test
# suite, i.e., %%ctest would find no tests and there is nothing useful we could
# do in %%check.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-12 9: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 9:20 [rpms/wlcs] 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