From: Nathan Cutler Date: Sat, 3 Oct 2015 08:43:51 +0000 (+0200) Subject: ceph.spec.in: selinux by default on RHEL/Fedora, non-default on SUSE X-Git-Tag: v9.1.0~26^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5dd93d7de1984fba27aa663cb49d6f7e86bc1038;p=ceph.git ceph.spec.in: selinux by default on RHEL/Fedora, non-default on SUSE Surround it with an appropriate conditional. http://tracker.ceph.com/issues/13324 Fixes: #13324 Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index ceb50953ad08..8f7e3891107c 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -4,7 +4,12 @@ %bcond_with tests %bcond_without tcmalloc %bcond_without libs_compat +%if 0%{?fedora} || 0%{?rhel} %bcond_without selinux +%endif +%if 0%{?suse_version} +%bcond_with selinux +%endif %if (0%{?el5} || (0%{?rhel_version} >= 500 && 0%{?rhel_version} <= 600))