From: Daniel P. Berrange Date: Fri, 7 Sep 2012 15:45:50 +0000 (+0100) Subject: Fix RPM spec conditional when %{rhel} is not defined X-Git-Tag: CVE-2012-4423~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f685c4dd83d52b6993061e4abaa58b9c7680b6d;p=thirdparty%2Flibvirt.git Fix RPM spec conditional when %{rhel} is not defined --- diff --git a/libvirt.spec.in b/libvirt.spec.in index cd01219378..8c4c08dfcb 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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"