mirror of https://gitee.com/openkylin/libvirt.git
spec: Simplify platform check
No need to check whether we're on Fedora, because checking whether the version of Fedora is recent enough implictly does that already. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
e8cdabc868
commit
7c5d0ae3bd
|
@ -89,7 +89,7 @@ MinGW Windows libvirt virtualization library.
|
|||
%setup -q -n libvirt-%{version}
|
||||
|
||||
%build
|
||||
%if 0%{?fedora} && 0%{?fedora} >= %{min_fedora}
|
||||
%if 0%{?fedora} >= %{min_fedora}
|
||||
%define supported_platform 1
|
||||
%else
|
||||
%define supported_platform 0
|
||||
|
|
Loading…
Reference in New Issue