summaryrefslogtreecommitdiffstats
path: root/virt-viewer.spec.in
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-09-13 14:08:18 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-09-13 15:38:31 +0200
commit865bb8769d138bab7bc251b4eec728c065e66cf3 (patch)
tree045fdd62bee376a2961545d018007d4982eee02f /virt-viewer.spec.in
parent6ca035dd4c7790c0fe26197e5e1e533063c6911c (diff)
downloadvirt-viewer-865bb8769d138bab7bc251b4eec728c065e66cf3.tar.gz
virt-viewer-865bb8769d138bab7bc251b4eec728c065e66cf3.tar.xz
virt-viewer-865bb8769d138bab7bc251b4eec728c065e66cf3.zip
spec: Group %define spice together
The rhel and fedora %define for enabling spice were separated, we can group them for better readability.
Diffstat (limited to 'virt-viewer.spec.in')
-rw-r--r--virt-viewer.spec.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/virt-viewer.spec.in b/virt-viewer.spec.in
index fdbd42e..795f6ed 100644
--- a/virt-viewer.spec.in
+++ b/virt-viewer.spec.in
@@ -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