public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/re2] rawhide: Better BuildOption formatting
@ 2026-09-11 12:56 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-11 12:56 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/re2
Branch : rawhide
Commit : 9ae73cd10fc36f44a1229da7833b01400cf28af7
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-11T13:54:28+01:00
Stats : +7/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/re2/c/9ae73cd10fc36f44a1229da7833b01400cf28af7?branch=rawhide
Log:
Better BuildOption formatting
---
diff --git a/re2.spec b/re2.spec
index bff9eca..90d8886 100644
--- a/re2.spec
+++ b/re2.spec
@@ -25,11 +25,13 @@ URL: https://github.com/google/re2
Source: %{url}/archive/%{tag}/re2-%{tag}.tar.gz
BuildSystem: cmake
-BuildOption(conf): %{shrink:
- -DRE2_TEST:BOOL=%{?with_ctest:ON}%{?!with_ctest:OFF}
- -DRE2_BENCHMARK:BOOL=OFF
- -DRE2_USE_ICU:BOOL=ON
- }
+BuildOption(conf): -DRE2_BENCHMARK:BOOL=OFF
+BuildOption(conf): -DRE2_USE_ICU:BOOL=ON
+%if %{with ctest}
+BuildOption(conf): -DRE2_TEST:BOOL=ON
+%else
+BuildOption(conf): -DRE2_TEST:BOOL=OFF
+%endif
BuildRequires: gcc-c++
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 12:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 12:56 [rpms/re2] 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