public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gulrak-filesystem] rawhide: Simplify setting Boolean CMake options based on build conditionals
@ 2026-09-12 9:22 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-12 9:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gulrak-filesystem
Branch : rawhide
Commit : bde646d4c7c0c70dc66b01e7ad0007f5a231d0c4
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-12T10:18:05+01:00
Stats : +1/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gulrak-filesystem/c/bde646d4c7c0c70dc66b01e7ad0007f5a231d0c4?branch=rawhide
Log:
Simplify setting Boolean CMake options based on build conditionals
---
diff --git a/gulrak-filesystem.spec b/gulrak-filesystem.spec
index 47d6460..524e0b5 100644
--- a/gulrak-filesystem.spec
+++ b/gulrak-filesystem.spec
@@ -20,11 +20,7 @@ URL: https://github.com/gulrak/filesystem
Source: %{url}/archive/v%{version}/filesystem-%{version}.tar.gz
BuildSystem: cmake
-%if %{with ctest}
-BuildOption(conf): -DGHC_FILESYSTEM_BUILD_TESTING:BOOL=ON
-%else
-BuildOption(conf): -DGHC_FILESYSTEM_BUILD_TESTING:BOOL=OFF
-%endif
+BuildOption(conf): -DGHC_FILESYSTEM_BUILD_TESTING:BOOL=%{with ctest}
BuildRequires: gcc-c++
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-12 9:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-12 9:22 [rpms/gulrak-filesystem] rawhide: Simplify setting Boolean CMake options based on build conditionals 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