public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-compreffor] rawhide: More long options
@ 2026-09-10 9:19 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-10 9:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-compreffor
Branch : rawhide
Commit : dac6ba81d3232b7a1d0e4ca24b2ddb19e02b1ba0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-10T10:18:01+01:00
Stats : +3/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-compreffor/c/dac6ba81d3232b7a1d0e4ca24b2ddb19e02b1ba0?branch=rawhide
Log:
More long options
---
diff --git a/python-compreffor.spec b/python-compreffor.spec
index 4ad14aa..3aaa373 100644
--- a/python-compreffor.spec
+++ b/python-compreffor.spec
@@ -41,14 +41,15 @@ Summary: %{summary}
# 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}'
# Remove Cython-generated sources; we must ensure they are regenerated.
find src/cython -type f -name '*.c*' -print -delete
# Do not use requirements.txt for tox dependencies, as it contains (only) an
# overly-strict pinned fonttools version.
-sed -r -i '/^[[:blank:]]*-rrequirements.txt[[:blank:]]*/d' 'tox.ini'
+sed --regexp-extended --in-place \
+ '/^[[:blank:]]*-rrequirements.txt[[:blank:]]*/d' tox.ini
%generate_buildrequires -p
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-10 9:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 9:19 [rpms/python-compreffor] rawhide: More 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