as centos-sclo-rh-source leads us to 404 at this moment. and we are not
using the source repo for building ceph. so we can just skip any
unavailable repo.
Fixes: http://tracker.ceph.com/issues/37707
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit
aa2b9e9a643441d9a2891e17920677a7725754c4)
;;
centos|fedora|rhel|ol|virtuozzo)
yumdnf="yum"
- builddepcmd="yum-builddep -y"
+ builddepcmd="yum-builddep -y --setopt=*.skip_if_unavailable=true"
if test "$(echo "$VERSION_ID >= 22" | bc)" -ne 0; then
yumdnf="dnf"
builddepcmd="dnf -y builddep --allowerasing"