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-zmq] f43: Use various long options
Date: Sat, 22 Aug 2026 06:17:48 GMT [thread overview]
Message-ID: <178737946857.1.2276054002525306694.rpms-python-zmq-4b2e91561971@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-zmq
Branch : f43
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=f43
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}
reply other threads:[~2026-08-22 6:17 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=178737946857.1.2276054002525306694.rpms-python-zmq-4b2e91561971@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