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

A new commit has been pushed.

Repo   : rpms/python-meson-python
Branch : f45
Commit : 8030cf9ad568c98c180ed84169bc8f1e55506a65
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-10T23:03:18+01:00
Stats  : +4/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-meson-python/c/8030cf9ad568c98c180ed84169bc8f1e55506a65?branch=f45

Log:
Better BuildOption formatting

---
diff --git a/python-meson-python.spec b/python-meson-python.spec
index 8e3e5fd..d3294fe 100644
--- a/python-meson-python.spec
+++ b/python-meson-python.spec
@@ -25,10 +25,10 @@ Source:         %{pypi_source meson_python}
 Patch100:       meson-python-0.18.0-remove-patchelf.patch
 
 BuildSystem:    pyproject
-BuildOption(generate_buildrequires): %{shrink:
-    --pyproject-dependencies
-    %{?with_tests:--dependency-groups test}
-    }
+BuildOption(generate_buildrequires): --pyproject-dependencies
+%if %{with tests}
+BuildOption(generate_buildrequires): --dependency-groups test
+%endif
 # LICENSE duplicates LICENSES/MIT.txt, which is handled automatically.
 BuildOption(install): --assert-license mesonpy
 

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

only message in thread, other threads:[~2026-09-11 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:09 [rpms/python-meson-python] f45: 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