public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fontmake] rawhide: Better BuildOption formatting
@ 2026-09-07 20:58 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-07 20:58 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/fontmake
Branch : rawhide
Commit : e7c18779fbda08340f112b1f1f07b5f91ad6bb72
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-07T21:57:15+01:00
Stats  : +12/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/fontmake/c/e7c18779fbda08340f112b1f1f07b5f91ad6bb72?branch=rawhide

Log:
Better BuildOption formatting

---
diff --git a/fontmake.spec b/fontmake.spec
index c8e44fe..2d9e2b0 100644
--- a/fontmake.spec
+++ b/fontmake.spec
@@ -32,12 +32,18 @@ BuildOption(install): --assert-license fontmake
 #   - MutatorMath is no longer supported but a dummy extras [sic] is kept below
 #     to avoid fontmake installation failing if requested
 # We therefore don’t need to generate dependencies for these.
-BuildOption(generate_buildrequires): %{shrink:
-    %{?with_pathops:--extras pathops}
-    %{?with_autohint:--extras autohint}
-    %{?with_json:--extras json}
-    %{?with_repacker:--extras repacker}
-    }
+%if %{with pathops}
+BuildOption(generate_buildrequires): --extras pathops
+%endif
+%if %{with autohint}
+BuildOption(generate_buildrequires): --extras autohint
+%endif
+%if %{with json}
+BuildOption(generate_buildrequires): --extras json
+%endif
+%if %{with repacker}
+BuildOption(generate_buildrequires): --extras repacker
+%endif
 
 BuildArch:      noarch
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-07 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 20:58 [rpms/fontmake] rawhide: Better BuildOption formatting 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