From 5dd93d7de1984fba27aa663cb49d6f7e86bc1038 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sat, 3 Oct 2015 10:43:51 +0200 Subject: [PATCH] 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 --- ceph.spec.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index ceb50953ad0..8f7e3891107 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)) -- 2.47.3