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:
Andrea Bolognani 2021-05-11 17:19:51 +02:00
parent e8cdabc868
commit 7c5d0ae3bd

View File

@ -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