[virt-viewer 2/3] spec: Group %define spice together

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The rhel and fedora %define for enabling spice were separated, we
can group them for better readability.
---
 virt-viewer.spec.in | 6 +-----
 1 file changed, 1 insertion(+), 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
-- 
1.8.3.1

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux