Skip to content

Commit

Permalink
install-deps.sh: use %bcond_with selinux on SLE/openSUSE
Browse files Browse the repository at this point in the history
  • Loading branch information
smithfarm committed Oct 1, 2015
1 parent 4c0277f commit 1df2cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
*)
Expand Down

0 comments on commit 1df2cc2

Please sign in to comment.