From e3d6ad24ae1b79724eeefda4ae15de3e0288dcf9 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mar 22 2019 23:19:03 +0000 Subject: spec: Only run pathfix on the one file that needs it It's really noisy recursing through the sourcedir otherwise --- diff --git a/qemu.spec b/qemu.spec index c4744b4..cb697d8 100644 --- a/qemu.spec +++ b/qemu.spec @@ -895,7 +895,7 @@ This package provides the QEMU system emulator for Xtensa boards. # -n prevents creating ~backup files # -i specifies the interpreter for the shebang # Need to list files that do not match ^[a-zA-Z0-9_]+\.py$ explicitly! -pathfix.py -pni "%{__python3} %{py3_shbang_opts}" . scripts/qemu-trace-stap +pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/qemu-trace-stap %build