Fix RPM spec conditional when %{rhel} is not defined

This commit is contained in:
Daniel P. Berrange 2012-09-07 16:45:50 +01:00
parent defa8b8589
commit 3f685c4dd8

View 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"