public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/wlcs] rawhide: Better BuildOption formatting
Date: Sat, 12 Sep 2026 09:20:46 GMT	[thread overview]
Message-ID: <178920484629.1.1480929166206646276.rpms-wlcs-885d572bf002@fedoraproject.org> (raw)

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.

                 reply	other threads:[~2026-09-12  9:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178920484629.1.1480929166206646276.rpms-wlcs-885d572bf002@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox