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] f44: Use various long options (to improve readability)
Date: Sat, 11 Jul 2026 15:44:50 GMT	[thread overview]
Message-ID: <178378469066.1.16478625559235380783.rpms-python-cattrs-c8dd6fe8eaaa@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-cattrs
            Branch : f44
            Commit : c8dd6fe8eaaae32877b38209ada1ad789f2625e8
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-07-11T06:46:58+01:00
            Stats  : +5/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-cattrs/c/c8dd6fe8eaaae32877b38209ada1ad789f2625e8?branch=f44

            Log:
            Use various long options (to improve readability)

[skip changelog]

---
diff --git a/python-cattrs.spec b/python-cattrs.spec
index 17b8d50..a6910b7 100644
--- a/python-cattrs.spec
+++ b/python-cattrs.spec
@@ -21,7 +21,7 @@ Source:         %{url}/archive/v%{version}/cattrs-%{version}.tar.gz
 %global srcversion %{version}
 %else
 Source:         %{url}/archive/%{commit}/cattrs-%{commit}.tar.gz
-%global srcversion %(echo %{version} | cut -d '^' -f 1)
+%global srcversion %(echo %{version} | cut --delimiter='^' --fields=1)
 %endif
 
 # Downstream: temporarily loosen version bounds on some test dependencies
@@ -89,13 +89,14 @@ Obsoletes:      python-cattrs-doc < 24.1.2^20241004gitae80674-6
 # Don’t run benchmarks when testing
 tomcli set pyproject.toml lists delitem 'dependency-groups.test' \
     'pytest-benchmark\b.*'
-sed -r -i 's/ --benchmark[^[:blank:]"]*//g' pyproject.toml
+sed --regexp-extended --in-place \
+    's/ --benchmark[^[:blank:]"]*//g' pyproject.toml
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
 tomcli set pyproject.toml lists delitem 'dependency-groups.test' \
     'coverage\b.*'
 
 # Remove bundled fonts to show they are not packaged:
-rm -rv docs/_static/fonts/
+rm --recursive --verbose docs/_static/fonts/
 
 
 %generate_buildrequires
@@ -161,7 +162,7 @@ k="${k-}${k+ and }not test_orjson_native_enums"
 k="${k-}${k+ and }not test_orjson_unions"
 %endif
 
-%pytest --ignore-glob='bench/*' ${ignore-} -k "${k-}" -n auto
+%pytest --ignore-glob='bench/*' ${ignore-} -k "${k-}" --numprocesses=auto
 
 
 %files -n python3-cattrs -f %{pyproject_files}

                 reply	other threads:[~2026-07-11 15:44 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=178378469066.1.16478625559235380783.rpms-python-cattrs-c8dd6fe8eaaa@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