install-deps.sh: revert a5a44cf4

we don't prepare wheels for python2 anymore, and we don't test for
python2. so no need to test for python2

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-12-18 18:38:26 +08:00
parent 7fec5f7a67
commit 5d4c2c71bd

View File

@ -424,10 +424,6 @@ else
echo "Using zypper to install dependencies"
zypp_install="zypper --gpg-auto-import-keys --non-interactive install --no-recommends"
$SUDO $zypp_install systemd-rpm-macros rpm-build || exit 1
if [ -e /usr/bin/python2 ] ; then
# see https://tracker.ceph.com/issues/23981
$SUDO $zypp_install python2-virtualenv python2-devel || exit 1
fi
munge_ceph_spec_in $with_seastar $for_make_check $DIR/ceph.spec
$SUDO $zypp_install $(rpmspec -q --buildrequires $DIR/ceph.spec) || exit 1
;;