public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cramjam] f44: Use various long options
@ 2026-06-20  7:59 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-20  7:59 UTC (permalink / raw)
  To: git-commits

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
 
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-20  7:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-20  7:59 [rpms/python-cramjam] f44: Use various long options 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