public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libinstpatch] rawhide: Simplify setting Boolean CMake options based on build conditionals
@ 2026-09-12 10:10 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-12 10:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libinstpatch
Branch : rawhide
Commit : 5ee94807d9359980f354df30c88406d2d47aaca2
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-12T11:09:14+01:00
Stats : +1/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libinstpatch/c/5ee94807d9359980f354df30c88406d2d47aaca2?branch=rawhide
Log:
Simplify setting Boolean CMake options based on build conditionals
---
diff --git a/libinstpatch.spec b/libinstpatch.spec
index 0bd1ca5..d0ba745 100644
--- a/libinstpatch.spec
+++ b/libinstpatch.spec
@@ -40,11 +40,7 @@ Source: %{forgeurl}/archive/v%{version}/libinstpatch-%{version}.tar.gz
BuildSystem: cmake
BuildOption(conf): -DGTKDOC_ENABLED:BOOL=ON
-%if %{with introspection}
-BuildOption(conf): -DINTROSPECTION_ENABLED:BOOL=ON
-%else
-BuildOption(conf): -DINTROSPECTION_ENABLED:BOOL=OFF
-%endif
+BuildOption(conf): -DINTROSPECTION_ENABLED:BOOL=%{with introspection}
# Upstream provides no tests.
BuildRequires: gcc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-12 10:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-12 10:10 [rpms/libinstpatch] 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