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-cattrs] rawhide: Use %pyproject_extras_subpkg long options
Date: Sat, 22 Aug 2026 11:07:40 GMT [thread overview]
Message-ID: <178739686064.1.8263607948564134062.rpms-python-cattrs-4549da840302@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-22 11:07 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=178739686064.1.8263607948564134062.rpms-python-cattrs-4549da840302@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