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/libdivide] rawhide: Better BuildOption formatting
Date: Wed, 09 Sep 2026 09:05:19 GMT [thread overview]
Message-ID: <178894471912.1.14153630059382188841.rpms-libdivide-a7ecaafcb323@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libdivide
Branch : rawhide
Commit : a7ecaafcb323f75b964473583df7321a67acd5b5
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-09T10:03:55+01:00
Stats : +5/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libdivide/c/a7ecaafcb323f75b964473583df7321a67acd5b5?branch=rawhide
Log:
Better BuildOption formatting
---
diff --git a/libdivide.spec b/libdivide.spec
index 6b2685f..c843713 100644
--- a/libdivide.spec
+++ b/libdivide.spec
@@ -12,9 +12,11 @@ VCS: git:%{forgeurl}.git
Source: %{forgeurl}/archive/v%{version}/libdivide-%{version}.tar.gz
BuildSystem: cmake
-BuildOption(conf): %{shrink:
- -DLIBDIVIDE_BUILD_TESTS:BOOL=%{?with_ctest:ON}%{?!with_ctest:OFF}
- }
+%if %{with ctest}
+BuildOption(conf): -DLIBDIVIDE_BUILD_TESTS:BOOL=ON
+%else
+BuildOption(conf): -DLIBDIVIDE_BUILD_TESTS:BOOL=OFF
+%endif
# There are no ELF objects in this package, so turn off debuginfo generation.
%global debug_package %{nil}
reply other threads:[~2026-09-09 9:05 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=178894471912.1.14153630059382188841.rpms-libdivide-a7ecaafcb323@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