1
0
mirror of https://github.com/ceph/ceph synced 2025-04-07 18:17:22 +00:00

install-deps.sh: install '*rpm-macros'

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>
This commit is contained in:
Kefu Chai 2019-04-12 00:11:42 +08:00
parent 7cbbe9acea
commit 087ea813a0

View File

@ -361,6 +361,7 @@ else
;;
esac
munge_ceph_spec_in $for_make_check $DIR/ceph.spec
$SUDO $yumdnf install -y \*rpm-macros
$SUDO $builddepcmd $DIR/ceph.spec 2>&1 | tee $DIR/yum-builddep.out
[ ${PIPESTATUS[0]} -ne 0 ] && exit 1
if [ -n "$dts_ver" ]; then