]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Simplify platform check
authorAndrea Bolognani <abologna@redhat.com>
Tue, 11 May 2021 15:19:51 +0000 (17:19 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 12 May 2021 08:29:45 +0000 (10:29 +0200)
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>
mingw-libvirt.spec.in

index 3068607908e4dde3755f6f7eea47e48c978c37cd..4674d7887aca91d9592390e517c793e01d6c80bc 100644 (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