Avoids this error on SLES systems:
> ./install-deps.sh
sles is unknown, dependencies will have to be installed manually.
Signed-off-by: Nitin A Kamble <Nitin.Kamble@Teradata.com>
(cherry picked from commit
266f4d4f20a1756e825ee54d79fe5f8d931d4b77)
Conflict in install-deps.sh due to indentation. Trivial resolution.
$SUDO yum-builddep -y $DIR/ceph.spec 2>&1 | tee $DIR/yum-builddep.out
! grep -q -i error: $DIR/yum-builddep.out || exit 1
;;
-opensuse|suse)
+ opensuse|suse|sles)
echo "Using zypper to install dependencies"
$SUDO zypper --gpg-auto-import-keys --non-interactive install lsb-release systemd-rpm-macros
sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec