]> xenbits.xensource.com Git - people/dariof/libvirt.git/commitdiff
spec: RHEL-7 does not have sanlock on i686
authorJiri Denemark <jdenemar@redhat.com>
Tue, 30 Jul 2013 11:45:04 +0000 (13:45 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 30 Jul 2013 15:05:44 +0000 (17:05 +0200)
libvirt.spec.in

index 5ac2f92e17c7c8f77784648a7c6c26eaf0dcc42a..07fd036a7d96c0bdff92477f6f7b5f58e44a834e 100644 (file)
 %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