public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cattrs] rawhide: Use %pyproject_extras_subpkg long options
@ 2026-08-22 11:07 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-22 11:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-cattrs
Branch : rawhide
Commit : 4549da8403023ae469e31ae138536576a78f3ecf
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-22T12:04:21+01:00
Stats : +7/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-cattrs/c/4549da8403023ae469e31ae138536576a78f3ecf?branch=rawhide
Log:
Use %pyproject_extras_subpkg long options
---
diff --git a/python-cattrs.spec b/python-cattrs.spec
index d35c10d..cdbd272 100644
--- a/python-cattrs.spec
+++ b/python-cattrs.spec
@@ -60,23 +60,24 @@ Obsoletes: python-cattrs-doc < 24.1.2^20241004gitae80674-6
# Most extras metapackages are noarch:
-%pyproject_extras_subpkg -n python3-cattrs -a ujson pyyaml tomlkit tomllib
+%{pyproject_extras_subpkg --name python3-cattrs --noarch %{shrink:
+ ujson pyyaml tomlkit tomllib}}
%if %{with bson}
-%pyproject_extras_subpkg -n python3-cattrs -a bson
+%pyproject_extras_subpkg --name python3-cattrs --noarch bson
%endif
%if %{with cbor2}
-%pyproject_extras_subpkg -n python3-cattrs -a cbor2
+%pyproject_extras_subpkg --name python3-cattrs --noarch cbor2
%endif
%if %{defined msgspec_enabled}
# python-msgspec is ExcludeArch: s390x i686; the extras metapackage is arched
# because it is not present on every architecture
-%pyproject_extras_subpkg -n python3-cattrs msgspec
+%pyproject_extras_subpkg --name python3-cattrs msgspec
%endif
%if %{with msgpack}
-%pyproject_extras_subpkg -n python3-cattrs -a msgpack
+%pyproject_extras_subpkg --name python3-cattrs --noarch msgpack
%endif
%if %{with orjson}
-%pyproject_extras_subpkg -n python3-cattrs -a orjson
+%pyproject_extras_subpkg --name python3-cattrs --noarch orjson
%endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-22 11:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-22 11:07 [rpms/python-cattrs] rawhide: Use %pyproject_extras_subpkg long options 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