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/earcut-hpp] rawhide: Better BuildOption formatting
Date: Mon, 07 Sep 2026 20:11:18 GMT [thread overview]
Message-ID: <178881187880.1.6759667827168471012.rpms-earcut-hpp-eed04d1f8a30@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/earcut-hpp
Branch : rawhide
Commit : eed04d1f8a30f15e388094b08cbd0bfbf3eed637
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-07T21:10:18+01:00
Stats : +9/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/earcut-hpp/c/eed04d1f8a30f15e388094b08cbd0bfbf3eed637?branch=rawhide
Log:
Better BuildOption formatting
---
diff --git a/earcut-hpp.spec b/earcut-hpp.spec
index 6c862f9..dcc3934 100644
--- a/earcut-hpp.spec
+++ b/earcut-hpp.spec
@@ -18,13 +18,15 @@ Source1: https://github.com/mapbox/earcut/archive/v%{version}/earcut-%{ve
BuildSystem: cmake
# We do want to build the tests, but we have no use for the benchmarks or the
# visualizer program.
-BuildOption(conf): %{shrink:
- -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON
- -DEARCUT_BUILD_TESTS:BOOL=%{?with_ctest:ON}%{?!with_ctest:OFF}
- -DEARCUT_BUILD_BENCH:BOOL=OFF
- -DEARCUT_BUILD_VIZ:BOOL=OFF
- -DEARCUT_WARNING_IS_ERROR:BOOL=OFF
- }
+BuildOption(conf): -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON
+%if %{with ctest}
+BuildOption(conf): -DEARCUT_BUILD_TESTS:BOOL=ON
+%else
+BuildOption(conf): -DEARCUT_BUILD_TESTS:BOOL=OFF
+%endif
+BuildOption(conf): -DEARCUT_BUILD_BENCH:BOOL=OFF
+BuildOption(conf): -DEARCUT_BUILD_VIZ:BOOL=OFF
+BuildOption(conf): -DEARCUT_WARNING_IS_ERROR:BOOL=OFF
BuildRequires: gcc-c++
# We need picojson for a “fixtures” convenience library that is used by tests,
reply other threads:[~2026-09-07 20:11 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=178881187880.1.6759667827168471012.rpms-earcut-hpp-eed04d1f8a30@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