diff --git a/virt-manager.spec.in b/virt-manager.spec.in index fd5d59c70..8bb924ecd 100644 --- a/virt-manager.spec.in +++ b/virt-manager.spec.in @@ -17,6 +17,14 @@ %define with_spice 0 +# End local config +# Default option handling + +%if %{with_spice} +%define default_graphics "spice" +%endif + + # Compat for use of spec in multiple distros %if 0%{?gconf_schema_prepare} == 0 @@ -45,8 +53,6 @@ fi \ %endif -# End local config - # This macro is used for the continuous automated builds. It just # allows an extra fragment based on the timestamp to be appended # to the release. This distinguishes automated builds, from formal @@ -121,10 +127,6 @@ Requires(preun): GConf2 Requires(post): desktop-file-utils Requires(postun): desktop-file-utils -%if %{with_spice} -%define default_graphics "spice" -%endif - %description Virtual Machine Manager provides a graphical tool for administering virtual machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices,