public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-glyphsLib] rawhide: Simplified conditional BuildOption syntax
@ 2026-10-10 21:49 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-10 21:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-glyphsLib
Branch : rawhide
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=rawhide
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-10 21:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-10 21:49 [rpms/python-glyphsLib] rawhide: Simplified conditional BuildOption syntax Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox