From 5f363849cc1cc8843556aeb1cd734fc237720ce6 Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Oct 16 2014 05:45:13 +0000 Subject: build selinux policy on RHEL7 also Bug: 1149988 Change-Id: Iaa76acd282cd38db1f3dca6c4c4c5d3223e7dd0d --- diff --git a/beah.spec b/beah.spec index 9ab8f68..84c139e 100644 --- a/beah.spec +++ b/beah.spec @@ -19,9 +19,7 @@ %global with_systemd 0 %endif -# Currently the SELinux policy is only needed on Fedora 21+, see -# https://bugzilla.redhat.com/show_bug.cgi?id=1077115 -%if 0%{?fedora} >= 21 +%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7 %global with_selinux_policy 1 %else %global with_selinux_policy 0