From 96d410359b9eab504917a3a647d0dff133c9123f Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 12 Apr 2019 00:11:42 +0800 Subject: [PATCH] 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 (cherry picked from commit 087ea813a061a1d6858aeae57950e90965f4ae15) --- install-deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-deps.sh b/install-deps.sh index 40d9494eadf1..090de2aadafa 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -246,6 +246,7 @@ else ;; 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 if [ -n "$dts_ver" ]; then ensure_decent_gcc_on_rh $dts_ver -- 2.47.3