public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rapidyaml] rawhide: Better BuildOption formatting
@ 2026-09-11 11:13 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-11 11:13 UTC (permalink / raw)
To: git-commits
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}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 11:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 11:13 [rpms/rapidyaml] 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