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>
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
;;