]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: selinux by default on RHEL/Fedora, non-default on SUSE
authorNathan Cutler <ncutler@suse.com>
Sat, 3 Oct 2015 08:43:51 +0000 (10:43 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 6 Oct 2015 12:40:41 +0000 (14:40 +0200)
Surround it with an appropriate conditional.

http://tracker.ceph.com/issues/13324 Fixes: #13324

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index ceb50953ad0871fc0ee2f0ac7670ae017daa523a..8f7e3891107c330571ecdb84a713cdd1588791e3 100644 (file)
@@ -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))