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:
parent
29db26f008
commit
7a2cfc0dc9
|
@ -1773,6 +1773,10 @@ mkdir -p %{static_buildroot}
|
||||||
|
|
||||||
pushd %{static_builddir}
|
pushd %{static_builddir}
|
||||||
make DESTDIR=%{static_buildroot} install
|
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
|
popd # static
|
||||||
|
|
||||||
# Rename all QEMU user emulators to have a -static suffix
|
# Rename all QEMU user emulators to have a -static suffix
|
||||||
|
|
Loading…
Reference in New Issue