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

A new commit has been pushed.

Repo   : rpms/python-OWSLib
Branch : epel10
Commit : 8df5352724f5d4616328a58853a8188dd2d0b7f2
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-04T14:49:57+01:00
Stats  : +6/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-OWSLib/c/8df5352724f5d4616328a58853a8188dd2d0b7f2?branch=epel10

Log:
Use various long options

---
diff --git a/python-OWSLib.spec b/python-OWSLib.spec
index a2316a9..4ba53eb 100644
--- a/python-OWSLib.spec
+++ b/python-OWSLib.spec
@@ -83,16 +83,17 @@ Summary:        Documentation and examples for OWSLib
 %autosetup -n OWSLib-%{version}
 
 # Don’t analyze/report test coverage
-sed -r -i 's/^([[:blank:]]*)(--cov\b)/\1# \2/' tox.ini
+sed --regexp-extended --in-place \
+    's/^([[:blank:]]*)(--cov\b)/\1# \2/' tox.ini
 
 # We don’t need shebangs in the examples. The pattern of selecting files
 # before modifying them with sed keeps us from unnecessarily discarding the
 # original mtimes on unmodified files.
 find 'examples' -type f -name '*.py' \
     -exec gawk '/^#!/ { print FILENAME }; { nextfile }' '{}' '+' |
-  xargs -r sed -r -i '1{/^#!/d}'
+  xargs --no-run-if-empty sed --regexp-extended --in-place '1{/^#!/d}'
 # Some of them, but not all of them, were executable.
-chmod -v a-x examples/*.py
+chmod --verbose a-x examples/*.py
 
 
 %generate_buildrequires
@@ -110,7 +111,7 @@ chmod -v a-x examples/*.py
 
 %check
 # Otherwise, pytest finds the package twice in the Python path and complains.
-rm -rf owslib
+rm --recursive owslib
 
 # These require test data files from tests/resources/, which we have removed:
 ignore="${ignore-} --ignore-glob=tests/doctests/*.txt"
@@ -167,7 +168,7 @@ k="${k-}${k+ and }not test_md_distribution"
 ignore="${ignore-} --ignore=tests/test_csw_inspire.py"
 %endif
 
-%pytest -m 'not online' -k "${k-}" ${ignore-} -v -rs
+%pytest -m 'not online' -k "${k-}" ${ignore-} --verbose -rs
 
 
 %files -n python3-OWSLib -f %{pyproject_files}

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

only message in thread, other threads:[~2026-06-04 15:36 UTC | newest]

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