]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: install '*rpm-macros' 27524/head
authorKefu Chai <kchai@redhat.com>
Thu, 11 Apr 2019 16:11:42 +0000 (00:11 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 11 Apr 2019 16:14:20 +0000 (00:14 +0800)
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>
install-deps.sh

index 45e2793cc8e7034bd90ffb5471bc99db046804bb..dedf973d134f553d869d0e860dec267d42212df4 100755 (executable)
@@ -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