spec: tidy up default_graphics placement

This commit is contained in:
Cole Robinson 2012-07-09 16:07:32 -04:00
parent d9e6d1a5e1
commit a2a51861a4

View File

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