From: Jiri Denemark Date: Tue, 30 Jul 2013 11:45:04 +0000 (+0200) Subject: spec: RHEL-7 does not have sanlock on i686 X-Git-Tag: CVE-2013-4239~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a718d2827938514b420bb03c65fe9773b8a60af5;p=thirdparty%2Flibvirt.git spec: RHEL-7 does not have sanlock on i686 --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 5ac2f92e17..07fd036a7d 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -248,11 +248,16 @@ %if 0%{?fedora} >= 16 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif -%if 0%{?rhel} >= 6 +%if 0%{?rhel} == 6 %ifarch %{ix86} x86_64 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif %endif +%if 0%{?rhel} >= 7 + %ifarch x86_64 + %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} + %endif +%endif # Enable libssh2 transport for new enough distros %if 0%{?fedora} >= 17