public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/petsc] rawhide: Reduce verbosity of invocation of %py3_shebang_fix
@ 2026-10-28 20:53 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-28 20:53 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/petsc
            Branch : rawhide
            Commit : 2039ddba424657724d1b24333947ed940a5145a1
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
            Date   : 2026-10-28T13:27:14+01:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/petsc/c/2039ddba424657724d1b24333947ed940a5145a1?branch=rawhide

            Log:
            Reduce verbosity of invocation of %py3_shebang_fix

We now get one line per file, instead of 5.

[skip changelog]

---
diff --git a/petsc.spec b/petsc.spec
index fb0cd29..9eba97e 100644
--- a/petsc.spec
+++ b/petsc.spec
@@ -588,9 +588,7 @@ the Portable, Extensible Toolkit for Scientific Computation.
 rm -rf %{name}-%{version}/src/binding/petsc4py/src/*.egg-info
 
 %if 0%{?fedora}
-for i in `find . -name 'setup.py' -o -name 'configure' -o -name '*.py'`; do
-%py3_shebang_fix $i
-done
+%py3_shebang_fix $(find . -name 'setup.py' -o -name 'configure' -o -name '*.py')
 %endif
 
 # Avoid AssertionError with Python-3.15*

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

only message in thread, other threads:[~2026-10-28 20:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 20:53 [rpms/petsc] rawhide: Reduce verbosity of invocation of %py3_shebang_fix 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox