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-meson-python] f45: Better BuildOption formatting
Date: Fri, 11 Sep 2026 13:09:36 GMT	[thread overview]
Message-ID: <178913217637.1.11977917040653778206.rpms-python-meson-python-8030cf9ad568@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-09-11 13:09 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=178913217637.1.11977917040653778206.rpms-python-meson-python-8030cf9ad568@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