public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zmq] f44: Use various long options
@ 2026-08-21 7:09 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-21 7:09 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-zmq
Branch : f44
Commit : 4b2e9156197190035d097d103358b43f204a2f3d
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-05-20T14:22:47+01:00
Stats : +7/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-zmq/c/4b2e9156197190035d097d103358b43f204a2f3d?branch=f44
Log:
Use various long options
---
diff --git a/python-zmq.spec b/python-zmq.spec
index 2e79286..4b3901c 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -119,14 +119,17 @@ Conflicts: python3-pyzmq-tests < 26.2.0-1
%prep -a
# Remove any Cython-generated .c files in order to regenerate them:
-find . -type f -exec grep -FrinIl 'Generated by Cython' '{}' '+' |
- xargs -r -t rm -v
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_using_cython
+find . -type f -exec \
+ grep -I --fixed-strings --recursive --ignore-case --files-with-matches \
+ 'Generated by Cython' '{}' '+' |
+ xargs --no-run-if-empty --verbose rm --verbose
# Remove shebangs from non-script sources. The find-then-modify pattern
# preserves mtimes on sources that did not need to be modified.
find 'src' -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}'
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
%pyproject_patch_dependency black:ignore
@@ -164,7 +167,7 @@ export PYTHONPATH="%{buildroot}%{python3_sitearch}:${PWD}"
k="${k-}${k+ and }not Green"
%endif
-%pytest -k "${k-}" -v -rs tests/
+%pytest -k "${k-}" --verbose -rs tests/
%files -n python3-pyzmq -f %{pyproject_files}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 7:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 7:09 [rpms/python-zmq] 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