[libvirt PATCH 3/3] spec: Simplify platform check

Andrea Bolognani abologna at redhat.com
Tue May 11 15:21:31 UTC 2021


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 at redhat.com>
---
 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
-- 
2.26.3




More information about the libvir-list mailing list