[virt-tools-list] [virt-manager PATCH] spec: we don't need to depend on qemu-kvm

Giuseppe Scrivano gscrivan at redhat.com
Fri Jun 19 07:33:36 UTC 2015


Pavel Hrdina <phrdina at redhat.com> writes:

> Similarly as in commit 95cda553, just remove the dependency on qemu-kvm
> package for RHEL builds.  We don't need it, becase libvirt-daemon-kvm
> will handle this dependency correctly for us even in case that only
> qemu-kvm-rhev is present.
>
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1046651
>
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  virt-manager.spec.in | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/virt-manager.spec.in b/virt-manager.spec.in
> index cb6579f..ebd17ca 100644
> --- a/virt-manager.spec.in
> +++ b/virt-manager.spec.in
> @@ -12,7 +12,6 @@
>  
>  %if 0%{?rhel}
>  %define preferred_distros          "rhel,fedora"
> -%define kvm_packages               "qemu-kvm"
>  %define stable_defaults            1
>  %endif

with this patch virt-manager won't ask to install kvm packages when not
found.  I think it is OK, but let's see what Cole thinks about it.

If we won't use "kvm_packages", we should also remove the code using it
(grep for kvm_package_names and kvm-package-names).

Regards,
Giuseppe




More information about the virt-tools-list mailing list