public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cattrs] f43: Use pyproject long options (to improve readability)
@ 2026-07-11 18:52 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-11 18:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-cattrs
Branch : f43
Commit : 5f3414439ea0483c8f4bcb976ee5f39537de85b7
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-11T06:48:54+01:00
Stats : +10/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-cattrs/c/5f3414439ea0483c8f4bcb976ee5f39537de85b7?branch=f43
Log:
Use pyproject long options (to improve readability)
[skip changelog]
---
diff --git a/python-cattrs.spec b/python-cattrs.spec
index a6910b7..309230e 100644
--- a/python-cattrs.spec
+++ b/python-cattrs.spec
@@ -102,25 +102,25 @@ rm --recursive --verbose docs/_static/fonts/
%generate_buildrequires
export SETUPTOOLS_SCM_PRETEND_VERSION='%{srcversion}'
%{pyproject_buildrequires \
- -x ujson \
+ --extras ujson \
%if %{with orjson}
- -x orjson \
+ --extras orjson \
%endif
%if %{with msgpack}
- -x msgpack \
+ --extras msgpack \
%endif
- -x pyyaml \
- -x tomlkit \
+ --extras pyyaml \
+ --extras tomlkit \
%if %{with cbor2}
- -x cbor2 \
+ --extras cbor2 \
%endif
%if %{with bson}
- -x bson \
+ --extras bson \
%endif
%if %{msgspec_enabled}
- -x msgspec \
+ --extras msgspec \
%endif
- -g test}
+ --dependency-groups test}
%build
@@ -130,7 +130,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{srcversion}'
%install
%pyproject_install
-%pyproject_save_files -l cattrs cattr
+%pyproject_save_files --assert-license cattrs cattr
%check
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-11 18:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-11 18:52 [rpms/python-cattrs] f43: Use pyproject long options (to improve readability) 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