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: Better BuildOption formatting
Date: Fri, 11 Sep 2026 11:13:37 GMT [thread overview]
Message-ID: <178912521703.1.13295959529506310421.rpms-rapidyaml-ce3f86102223@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rapidyaml
Branch : rawhide
Commit : ce3f861022233b39437c76fd796132f687fc2e3d
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-11T11:55:28+01:00
Stats : +10/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rapidyaml/c/ce3f861022233b39437c76fd796132f687fc2e3d?branch=rawhide
Log:
Better BuildOption formatting
---
diff --git a/rapidyaml.spec b/rapidyaml.spec
index d48729f..020cb86 100644
--- a/rapidyaml.spec
+++ b/rapidyaml.spec
@@ -56,14 +56,16 @@ BuildSystem: cmake
# contents). We *could* do so, and add an additional source similar to the one
# for yaml-test-suite, but running these test cases downstream doesn’t seem
# important enough to bother.
-BuildOption(conf): %{shrink:
- -DRYML_CXX_STANDARD=%{cxx_std}
- -DRYML_SYSTEM_C4CORE:BOOL=ON
- -DRYML_BUILD_BENCHMARKS:BOOL=OFF
- -DRYML_BUILD_TESTS:BOOL=%{?with_tests:ON}%{?!with_tests:OFF}
- -DRYML_FUZZ_DRIVERS:BOOL=OFF
- -DRYML_FUZZ_TEST:BOOL=OFF
- }
+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_FUZZ_DRIVERS:BOOL=OFF
+BuildOption(conf): -DRYML_FUZZ_TEST:BOOL=OFF
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
reply other threads:[~2026-09-11 11:13 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=178912521703.1.13295959529506310421.rpms-rapidyaml-ce3f86102223@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