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-configargparse] rawhide: Nicer conditionals
Date: Wed, 28 Oct 2026 10:18:44 GMT [thread overview]
Message-ID: <179318272427.1.6287836218310838659.rpms-python-configargparse-38c0379a64fd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-configargparse
Branch : rawhide
Commit : 38c0379a64fda3f1a37dcb10f4d8c75a117a1527
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-28T09:59:27+00:00
Stats : +8/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-configargparse/c/38c0379a64fda3f1a37dcb10f4d8c75a117a1527?branch=rawhide
Log:
Nicer conditionals
[skip changelog]
---
diff --git a/python-configargparse.spec b/python-configargparse.spec
index 419339b..68da212 100644
--- a/python-configargparse.spec
+++ b/python-configargparse.spec
@@ -18,7 +18,10 @@ Source: %{url}/archive/v%{version}/ConfigArgParse-%{version}.tar.gz
BuildSystem: pyproject
BuildOption(install): --assert-license configargparse
-BuildOption(generate_buildrequires): --extras %{?with_toml:toml,}yaml
+%if %{with toml}
+BuildOption(generate_buildrequires): --extras toml
+%endif
+BuildOption(generate_buildrequires): --extras yaml
BuildArch: noarch
@@ -48,7 +51,10 @@ Summary: %{summary}
%description -n python3-configargparse %{common_description}
-%pyproject_extras_subpkg --name python3-configargparse %{?with_toml:toml} yaml
+%if %{with toml}
+%pyproject_extras_subpkg --name python3-configargparse toml
+%endif
+%pyproject_extras_subpkg --name python3-configargparse yaml
%generate_buildrequires -p
reply other threads:[~2026-10-28 10:18 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=179318272427.1.6287836218310838659.rpms-python-configargparse-38c0379a64fd@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