From 8825298cc232f71e0eb509c6ac6d73195b23249e Mon Sep 17 00:00:00 2001 From: Daniel P. Berrangé Date: May 04 2022 10:57:10 +0000 Subject: Remove qemu-common as a dep from qemu-user-static qemu-common has a dep on python, and has nothing that is critical for the operation of the userspace emulators. At most the qemu-trace-stap tool is useful, but we shouldn't force install of qemu-common just for that. qemu-user-static needs to be lightweight as its used to support cross-arch execution in scenarios where container/image size matters. In dropping qemu-common as a dep, we just need to ensure we still have the license files present. Signed-off-by: Daniel P. Berrangé --- diff --git a/qemu.spec b/qemu.spec index e88e45e..9874a00 100644 --- a/qemu.spec +++ b/qemu.spec @@ -911,7 +911,6 @@ This package provides the user mode emulation of qemu targets %if %{user_static} %package user-static Summary: QEMU user mode emulation of qemu targets static build -Requires: %{name}-common = %{epoch}:%{version}-%{release} Requires(post): systemd-units Requires(postun): systemd-units # qemu-user-binfmt + qemu-user-static both provide binfmt rules @@ -2120,6 +2119,7 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %if %{user_static} %files user-static +%license COPYING COPYING.LIB LICENSE # Just use wildcard matches here: we will catch any new/missing files # in the qemu-user filelists %{_exec_prefix}/lib/binfmt.d/qemu-*-static.conf @@ -2324,6 +2324,7 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %changelog * Tue May 3 2022 Daniel P. Berrangé - 7.0.0-2 - Drop redundant qemu-trace-stap copy from qemu-user-static (rhbz#2061584) +- Remove qemu-common dep from qemu-user-static (rhbz#2061584) * Fri Apr 08 2022 Eduardo Lima (Etrunko) - 7.0.0-1 - Rebase to qemu 7.0.0-1