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-OWSLib] epel10: Use various long options
Date: Thu, 04 Jun 2026 15:36:55 GMT	[thread overview]
Message-ID: <178058741532.1.15217759780410123994.rpms-python-OWSLib-8df5352724f5@fedoraproject.org> (raw)

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}

                 reply	other threads:[~2026-06-04 15:36 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=178058741532.1.15217759780410123994.rpms-python-OWSLib-8df5352724f5@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