spec: Group %define spice together

The rhel and fedora %define for enabling spice were separated, we
can group them for better readability.
This commit is contained in:
Christophe Fergeau
2013-09-13 14:08:18 +02:00
parent 6ca035dd4c
commit 865bb8769d

View File

@ -11,7 +11,7 @@
%endif
%define with_spice 0
%if 0%{?fedora} >= 17
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
%define with_spice 1
%endif
@ -20,10 +20,6 @@
%define with_govirt 1
%endif
%if 0%{?rhel} >= 6
%define with_spice 1
%endif
# spice-gtk is x86 x86_64 arm only currently:
%ifnarch %{ix86} x86_64 %{arm}
%define with_spice 0