mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-08-21 05:49:21 +03:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user