so `yum-builddep` can have access to the latest macros for preparing the
build dependencies
Fixes: http://tracker.ceph.com/issues/39164
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
087ea813a061a1d6858aeae57950e90965f4ae15)
Conflicts:
install-deps.sh: trivial resolution
;;
esac
munge_ceph_spec_in $DIR/ceph.spec
+ $SUDO $yumdnf install -y \*rpm-macros
$SUDO $builddepcmd $DIR/ceph.spec 2>&1 | tee $DIR/yum-builddep.out
! grep -q -i error: $DIR/yum-builddep.out || exit 1
;;