summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2012-07-09 16:07:32 -0400
committerCole Robinson <crobinso@redhat.com>2012-07-09 16:07:32 -0400
commita2a51861a4d6ceb9d7a88c8ed4392a3e0a44ca30 (patch)
tree32becc46ea3796cfaae2f248daa1a8567c0e6439
parentd9e6d1a5e12d75a900abbec439ee9abf818d426d (diff)
downloadvirt-manager-a2a51861a4d6ceb9d7a88c8ed4392a3e0a44ca30.tar.gz
spec: tidy up default_graphics placement
-rw-r--r--virt-manager.spec.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/virt-manager.spec.in b/virt-manager.spec.in
index fd5d59c7..8bb924ec 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,