]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-*build: install python36-devel for rpm macros 1389/head
authorKefu Chai <kchai@redhat.com>
Thu, 5 Sep 2019 15:48:20 +0000 (23:48 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 6 Sep 2019 14:53:59 +0000 (22:53 +0800)
see also 100a0fb5
see also https://github.com/ceph/ceph/pull/30190

Fixes: https://tracker.ceph.com/issues/41603
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-build/build/setup_rpm
ceph-dev-build/build/setup_rpm
ceph-dev-new-build/build/setup_rpm

index 649279a36ec5c5e0435e97e3d03b899d1edcbbce..6905a103762b0352b6db2498ec3287dd75e56683 100644 (file)
@@ -39,8 +39,11 @@ elif [ "$ARCH" = arm64 ]; then
 fi
 sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
 
-# Make sure we have all the rpm macros installed and at the latest version before installing the dependencies
-$SUDO yum install -y \*rpm-macros
+# Make sure we have all the rpm macros installed and at the latest version
+# before installing the dependencies, python3.6 is the main python offered
+# by CentOS/RHEL7 at this moment, and it requires the python-rpm-macro and
+# python2-rpm-macro we use for identify the python related dependencies
+$SUDO yum install -y python36-devel
 
 $SUDO yum-builddep -y $DIR/ceph.spec
 
index 921021742fdff793a9f5b86c2b3aa135f93b4a06..057968915a4b31eac64fa2cc2a807dea78f9ac40 100644 (file)
@@ -39,8 +39,11 @@ elif [ "$ARCH" = arm64 ]; then
 fi
 sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
 
-# Make sure we have all the rpm macros installed and at the latest version before installing the dependencies
-$SUDO yum install -y \*rpm-macros
+# Make sure we have all the rpm macros installed and at the latest version
+# before installing the dependencies, python3.6 is the main python offered
+# by CentOS/RHEL7 at this moment, and it requires the python-rpm-macro and
+# python2-rpm-macro we use for identify the python related dependencies
+$SUDO yum install -y python36-devel
 
 $SUDO yum-builddep -y $DIR/ceph.spec
 
index 921021742fdff793a9f5b86c2b3aa135f93b4a06..057968915a4b31eac64fa2cc2a807dea78f9ac40 100644 (file)
@@ -39,8 +39,11 @@ elif [ "$ARCH" = arm64 ]; then
 fi
 sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
 
-# Make sure we have all the rpm macros installed and at the latest version before installing the dependencies
-$SUDO yum install -y \*rpm-macros
+# Make sure we have all the rpm macros installed and at the latest version
+# before installing the dependencies, python3.6 is the main python offered
+# by CentOS/RHEL7 at this moment, and it requires the python-rpm-macro and
+# python2-rpm-macro we use for identify the python related dependencies
+$SUDO yum install -y python36-devel
 
 $SUDO yum-builddep -y $DIR/ceph.spec