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/rapidyaml] rawhide: Simplify setting Boolean CMake options based on build conditionals
Date: Sun, 13 Sep 2026 07:02:55 GMT	[thread overview]
Message-ID: <178928297528.1.13870497491739460619.rpms-rapidyaml-ca1b916e1f42@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rapidyaml
Branch : rawhide
Commit : ca1b916e1f420a3e012322539731b0e231cef49d
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-13T07:58:55+01:00
Stats  : +1/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rapidyaml/c/ca1b916e1f420a3e012322539731b0e231cef49d?branch=rawhide

Log:
Simplify setting Boolean CMake options based on build conditionals

---
diff --git a/rapidyaml.spec b/rapidyaml.spec
index 020cb86..189705c 100644
--- a/rapidyaml.spec
+++ b/rapidyaml.spec
@@ -59,11 +59,7 @@ BuildSystem:    cmake
 BuildOption(conf): -DRYML_CXX_STANDARD=%{cxx_std}
 BuildOption(conf): -DRYML_SYSTEM_C4CORE:BOOL=ON
 BuildOption(conf): -DRYML_BUILD_BENCHMARKS:BOOL=OFF
-%if %{with tests}
-BuildOption(conf): -DRYML_BUILD_TESTS:BOOL=ON
-%else
-BuildOption(conf): -DRYML_BUILD_TESTS:BOOL=OFF
-%endif
+BuildOption(conf): -DRYML_BUILD_TESTS:BOOL=%{with tests}
 BuildOption(conf): -DRYML_FUZZ_DRIVERS:BOOL=OFF
 BuildOption(conf): -DRYML_FUZZ_TEST:BOOL=OFF
 

                 reply	other threads:[~2026-09-13  7:02 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=178928297528.1.13870497491739460619.rpms-rapidyaml-ca1b916e1f42@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