mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-26 13:28:14 +00: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:
parent
6ca035dd4c
commit
865bb8769d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user