public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-configargparse] rawhide: Nicer conditionals
@ 2026-10-28 10:18 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-28 10:18 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-28 10:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 10:18 [rpms/python-configargparse] rawhide: Nicer conditionals 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