diff options
author | Martin Kletzander <mkletzan@redhat.com> | 2013-06-18 16:12:36 +0200 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2013-06-19 17:31:51 -0400 |
commit | 5fe2d5e97774df164f9af121b65f654d90958bf5 (patch) | |
tree | 1585d7c4a00f541199f8a0bba9bedfa61b3d86e0 | |
parent | ae3ed8db0312edd9cb86447cc7441e62e8c9b989 (diff) | |
download | virt-manager-5fe2d5e97774df164f9af121b65f654d90958bf5.tar.gz |
One more vnc->spice cleanup
Last commit changing the default was de1695b2, but there was still one
place in man page left and the spec file was left dirty. This is
hopefully the last vnc->spice patch
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
-rw-r--r-- | virt-manager.spec.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/virt-manager.spec.in b/virt-manager.spec.in index f3dbe9d3..5c0a5b9f 100644 --- a/virt-manager.spec.in +++ b/virt-manager.spec.in @@ -8,6 +8,7 @@ %define libvirt_packages "libvirt-daemon-kvm,libvirt-daemon-config-network" %define preferred_distros "fedora,rhel" %define kvm_packages "qemu-system-x86" +%define default_graphics "spice" %if 0%{?rhel} %define preferred_distros "rhel,fedora" @@ -128,9 +129,12 @@ machine). %define _disable_unsupported_rhel --hide-unsupported-rhel-options %endif +%if %{default_graphics} +%define _default_graphics --default-graphics=%{default_graphics} +%endif + python setup.py configure \ --pkgversion="%{version}" \ - --default-graphics="spice" \ %{?_qemu_user} \ %{?_kvm_packages} \ %{?_libvirt_packages} \ |