From: Nathan Cutler Date: Thu, 1 Oct 2015 19:04:29 +0000 (+0200) Subject: install-deps.sh: use %bcond_with selinux on SLE/openSUSE X-Git-Tag: v9.1.0~40^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6137%2Fhead;p=ceph.git install-deps.sh: use %bcond_with selinux on SLE/openSUSE http://tracker.ceph.com/issues/13324 Fixes: #13324 Signed-off-by: Nathan Cutler --- diff --git a/install-deps.sh b/install-deps.sh index 5ad41c69cd98..a126ca3e0615 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -77,7 +77,7 @@ CentOS|Fedora|RedHatEnterpriseServer) ! grep -q -i error: $DIR/yum-builddep.out || exit 1 ;; *SUSE*) - sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec + sed -e 's/@//g ; s/bcond_without selinux/bcond_with selinux/' < ceph.spec.in > $DIR/ceph.spec $SUDO zypper --non-interactive install $(rpmspec -q --buildrequires $DIR/ceph.spec) || exit 1 ;; *)