public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-wsgidav] epel9: Use various long options
@ 2026-05-31 18:39 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-05-31 18:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-wsgidav
Branch : epel9
Commit : 6fb2d77e1004be0baa77619b2fc7ece22b09ca6f
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-05-31T19:34:39+01:00
Stats  : +5/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-wsgidav/c/6fb2d77e1004be0baa77619b2fc7ece22b09ca6f?branch=epel9

Log:
Use various long options

---
diff --git a/python-wsgidav.spec b/python-wsgidav.spec
index ebdb612..1b345c7 100644
--- a/python-wsgidav.spec
+++ b/python-wsgidav.spec
@@ -79,7 +79,8 @@ Summary:        %{summary}
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
 # - pytest-cov is a coverage tool
 # - pytest-html is not packaged, and is only used for generating reports
-sed -r -i 's/^([[:blank:]]*)(pytest-(cov|html)\b)/\1# \2/' tox.ini
+sed --regexp-extended --in-place \
+    's/^([[:blank:]]*)(pytest-(cov|html)\b)/\1# \2/' tox.ini
 
 
 %generate_buildrequires
@@ -94,7 +95,8 @@ sed -r -i 's/^([[:blank:]]*)(pytest-(cov|html)\b)/\1# \2/' tox.ini
 %pyproject_install
 %pyproject_save_files wsgidav
 
-install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
+install -D --preserve-timestamps --mode=0644 \
+    --target='%{buildroot}%{_mandir}/man1' '%{SOURCE1}'
 
 
 %check
@@ -125,7 +127,7 @@ install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
 # pip-install pytest-html. Rather than patching this out (and patching out the
 # pytest arguments related to pytest-cov and pytest-html), we just run pytest
 # directly.
-%pytest -ra -v -x
+%pytest -ra --verbose
 
 
 %files -n python3-wsgidav -f %{pyproject_files}

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

only message in thread, other threads:[~2026-05-31 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 18:39 [rpms/python-wsgidav] epel9: 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