]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: use %bcond_with selinux on SLE/openSUSE 6137/head
authorNathan Cutler <ncutler@suse.com>
Thu, 1 Oct 2015 19:04:29 +0000 (21:04 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 1 Oct 2015 19:47:49 +0000 (21:47 +0200)
http://tracker.ceph.com/issues/13324 Fixes: #13324

Signed-off-by: Nathan Cutler <ncutler@suse.com>
install-deps.sh

index 5ad41c69cd989f38ab877dfc113dafbe1991acfa..a126ca3e061562b11c35852410c52564f179bfbe 100755 (executable)
@@ -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
         ;;
 *)