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/python-glyphsLib] f44: Simplified conditional BuildOption syntax
Date: Sun, 11 Oct 2026 05:56:19 GMT [thread overview]
Message-ID: <179169817996.1.216494648100531517.rpms-python-glyphsLib-152e574e5010@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-glyphsLib
Branch : f44
Commit : 152e574e5010e0451f304d6d6b9796113b5e51ea
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-10T10:14:24+01:00
Stats : +10/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-glyphsLib/c/152e574e5010e0451f304d6d6b9796113b5e51ea?branch=f44
Log:
Simplified conditional BuildOption syntax
[skip changelog]
---
diff --git a/python-glyphsLib.spec b/python-glyphsLib.spec
index db59804..cbc6551 100644
--- a/python-glyphsLib.spec
+++ b/python-glyphsLib.spec
@@ -30,12 +30,16 @@ Source: %{pypi_source glyphslib}
Patch: %{url}/pull/1073.patch
BuildSystem: pyproject
-BuildOption(generate_buildrequires): %{shrink:
- %{?with_ufo_normalization:--extras ufo_normalization}
- --extras defcon
- %{?with_colr:--extras colr}
- %{?with_check:requirements-dev.in}
- }
+%if %{with ufo_normalization}
+BuildOption(generate_buildrequires): --extras ufo_normalization
+%endif
+BuildOption(generate_buildrequires): --extras defcon
+%if %{with colr}
+BuildOption(generate_buildrequires): --extras colr
+%endif
+%if %{with check}
+BuildOption(generate_buildrequires): requirements-dev.in
+%endif
BuildOption(install): --assert-license glyphsLib
BuildArch: noarch
reply other threads:[~2026-10-11 5:56 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=179169817996.1.216494648100531517.rpms-python-glyphsLib-152e574e5010@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