]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: install '*rpm-macros' 27476/head
authorKefu Chai <kchai@redhat.com>
Thu, 11 Apr 2019 16:11:42 +0000 (00:11 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 12 Apr 2019 11:25:39 +0000 (19:25 +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>
(cherry picked from commit 087ea813a061a1d6858aeae57950e90965f4ae15)

install-deps.sh

index 40d9494eadf19f1ec39e5e75b5ae084e7d5e66ed..090de2aadafa06433fd7ea027558b8708eae3697 100755 (executable)
@@ -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