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/lexertl17] rawhide: Simplify setting Boolean CMake options based on build conditionals
Date: Sat, 12 Sep 2026 10:02:00 GMT	[thread overview]
Message-ID: <178920732037.1.9855269350514599712.rpms-lexertl17-e4e8b5165c88@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/lexertl17
Branch : rawhide
Commit : e4e8b5165c88cfd043480edbb190ba5f70fe3b29
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-12T11:00:59+01:00
Stats  : +1/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/lexertl17/c/e4e8b5165c88cfd043480edbb190ba5f70fe3b29?branch=rawhide

Log:
Simplify setting Boolean CMake options based on build conditionals

---
diff --git a/lexertl17.spec b/lexertl17.spec
index 2d57351..c527df2 100644
--- a/lexertl17.spec
+++ b/lexertl17.spec
@@ -20,11 +20,7 @@ URL:            https://github.com/BenHanson/lexertl17
 Source:         %{url}/archive/%{version}/lexertl17-%{version}.tar.gz
 
 BuildSystem:    cmake
-%if %{with ctest}
-BuildOption(conf): -DBUILD_TESTING:BOOL=ON
-%else
-BuildOption(conf): -DBUILD_TESTING:BOOL=OFF
-%endif
+BuildOption(conf): -DBUILD_TESTING:BOOL=%{with ctest}
 BuildOption(conf): -DBUILD_EXAMPLES:BOOL=ON
 
 %if %{undefined fc43}

                 reply	other threads:[~2026-09-12 10:02 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=178920732037.1.9855269350514599712.rpms-lexertl17-e4e8b5165c88@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