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/libinstpatch] rawhide: Better BuildOption formatting
Date: Wed, 09 Sep 2026 09:49:00 GMT [thread overview]
Message-ID: <178894734013.1.9630775516846231262.rpms-libinstpatch-64f691efba17@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libinstpatch
Branch : rawhide
Commit : 64f691efba173c5cc40184f89981b64fc8774d15
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-09T10:21:45+01:00
Stats : +6/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libinstpatch/c/64f691efba173c5cc40184f89981b64fc8774d15?branch=rawhide
Log:
Better BuildOption formatting
---
diff --git a/libinstpatch.spec b/libinstpatch.spec
index 6941a1c..0bd1ca5 100644
--- a/libinstpatch.spec
+++ b/libinstpatch.spec
@@ -39,10 +39,12 @@ SourceLicense: %{license} AND GPL-2.0-only
Source: %{forgeurl}/archive/v%{version}/libinstpatch-%{version}.tar.gz
BuildSystem: cmake
-BuildOption(conf): %{shrink:
- -DINTROSPECTION_ENABLED:BOOL=%{?with_introspection:ON}%{!?with_introspection:OFF}
- -DGTKDOC_ENABLED:BOOL=ON
- }
+BuildOption(conf): -DGTKDOC_ENABLED:BOOL=ON
+%if %{with introspection}
+BuildOption(conf): -DINTROSPECTION_ENABLED:BOOL=ON
+%else
+BuildOption(conf): -DINTROSPECTION_ENABLED:BOOL=OFF
+%endif
# Upstream provides no tests.
BuildRequires: gcc
reply other threads:[~2026-09-09 9:49 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=178894734013.1.9630775516846231262.rpms-libinstpatch-64f691efba17@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