From 3f685c4dd83d52b6993061e4abaa58b9c7680b6d Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 7 Sep 2012 16:45:50 +0100 Subject: [PATCH] Fix RPM spec conditional when %{rhel} is not defined --- libvirt.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"