From 7c5d0ae3bde4cfa16ca283144b9873683f059514 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Tue, 11 May 2021 17:19:51 +0200 Subject: [PATCH] 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 Reviewed-by: Neal Gompa --- mingw-libvirt.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-libvirt.spec.in b/mingw-libvirt.spec.in index 3068607908..4674d7887a 100644 --- a/mingw-libvirt.spec.in +++ b/mingw-libvirt.spec.in @@ -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