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-cramjam] f44: Use various long options
Date: Sat, 20 Jun 2026 07:59:13 GMT	[thread overview]
Message-ID: <178194235397.1.17533821450916243152.rpms-python-cramjam-c3a0055f46ef@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-cramjam
Branch : f44
Commit : c3a0055f46ef65cbbffef9c143a6b05d0f17c180
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-05-22T07:06:18+01:00
Stats  : +3/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cramjam/c/c3a0055f46ef65cbbffef9c143a6b05d0f17c180?branch=f44

Log:
Use various long options

---
diff --git a/python-cramjam.spec b/python-cramjam.spec
index aa0d929..f8a30fb 100644
--- a/python-cramjam.spec
+++ b/python-cramjam.spec
@@ -108,9 +108,9 @@ static_features="$(
 for sf in ${static_features}
 do
   tomcli set Cargo.toml del "features.${sf}"
-  if ! echo "${sf}" | grep -E '^use-system-' >/dev/null
+  if ! printf '%s\n' "${sf}" | grep --extended-regexp '^use-system-' >/dev/null
   then
-    binding="$(echo "${sf}" | sed -r 's/-static//')"
+    binding="$(echo "${sf}" | sed --regexp-extended 's/-static//')"
     tomcli set Cargo.toml lists replace --type regex \
         "features.${binding}" "${binding}-static" "${binding}-shared"
   fi
@@ -145,7 +145,7 @@ k="${k-}${k+ and }not test_variants_decompress_into"
 # Failed: DID NOT RAISE <class 'cramjam.DecompressionError'>
 k="${k-}${k+ and }not test_variants_raise_exception[deflate]"
 
-%pytest -k "${k-}" --ignore=benchmarks/test_bench.py -v
+%pytest -k "${k-}" --ignore=benchmarks/test_bench.py --verbose
 %endif
 
 

                 reply	other threads:[~2026-06-20  7:59 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=178194235397.1.17533821450916243152.rpms-python-cramjam-c3a0055f46ef@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