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] epel10: Use various long options
Date: Sat, 20 Jun 2026 08:55:03 GMT	[thread overview]
Message-ID: <178194570370.1.17611094234134735829.rpms-python-cramjam-cda412bc8951@fedoraproject.org> (raw)

A new commit has been pushed.

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

Log:
Use various long options

---
diff --git a/python-cramjam.spec b/python-cramjam.spec
index ed8814c..3863ab9 100644
--- a/python-cramjam.spec
+++ b/python-cramjam.spec
@@ -107,9 +107,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
@@ -142,7 +142,7 @@ done
 # 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  8:55 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=178194570370.1.17611094234134735829.rpms-python-cramjam-cda412bc8951@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