Skip to content

Commit

Permalink
Merge pull request ceph#6137 from SUSE/wip-13324-infernalis
Browse files Browse the repository at this point in the history
install-deps.sh: use %bcond_with selinux on SLE/openSUSE 

Reviewed-by: Loic Dachary <[email protected]>
  • Loading branch information
Loic Dachary committed Oct 1, 2015
2 parents 4c089ee + 1df2cc2 commit 392c56c
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 392c56c

Please sign in to comment.