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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux