diff --git a/libvirt.spec b/libvirt.spec
index 952f428..c020622 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -164,7 +164,7 @@
 %endif
 
 # Enable sanlock library for lock management with QEMU
-%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6
+%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
 %define with_sanlock  0%{!?_without_sanlock:%{server_drivers}}
 %endif