From 1df2cc2bf625a1f65ef4968d9cf313cc8ee9acc5 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Thu, 1 Oct 2015 21:04:29 +0200 Subject: [PATCH] install-deps.sh: use %bcond_with selinux on SLE/openSUSE http://tracker.ceph.com/issues/13324 Fixes: #13324 Signed-off-by: Nathan Cutler --- install-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index 5ad41c69cd989..a126ca3e06156 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 ;; *) -- 2.39.5