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

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
 
 

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

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

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