]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Fix RPM spec conditional when %{rhel} is not defined
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 7 Sep 2012 15:45:50 +0000 (16:45 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 7 Sep 2012 15:45:50 +0000 (16:45 +0100)
libvirt.spec.in

index cd0121937831f4e7a17bec52830763f0c4f66f3b..8c4c08dfcb5ebfd7154a3ce02ffc0efce98a4c4b 100644 (file)
@@ -1224,7 +1224,7 @@ autoreconf -if
 %endif
 
 %if %{with_selinux}
-%if %{?fedora} >= 17 || %{?rhel} >= 7
+%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
 %define with_selinux_mount --with-selinux-mount="/sys/fs/selinux"
 %else
 %define with_selinux_mount --with-selinux-mount="/selinux"