Drop redundant qemu-trace-stap copy from qemu-user-static (rhbz#2061584)

The static build of QEMU installs a copy of 'qemu-trace-stap' python
script, which gets renamed to 'qemu-trace-stap-static' by an overly
enthusiastic wildcard. This ends up adding a python dependency to
the qemu-user-static RPM, which is unhelpful.

Anyone who wants to trace QEMU user binaries with the stap helper
can easily install qemu-common as desired.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2022-05-03 18:58:58 +01:00 committed by Cole Robinson
parent 29db26f008
commit 7a2cfc0dc9
1 changed files with 4 additions and 0 deletions

View File

@ -1773,6 +1773,10 @@ mkdir -p %{static_buildroot}
pushd %{static_builddir}
make DESTDIR=%{static_buildroot} install
# Duplicates what the main build installs and we don't
# need second copy with a -static suffix
rm -f %{static_buildroot}%{_bindir}/qemu-trace-stap
popd # static
# Rename all QEMU user emulators to have a -static suffix