]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-*-build: s/python36-devel/python3-devel/ 1401/head
authorKefu Chai <kchai@redhat.com>
Wed, 2 Oct 2019 03:48:25 +0000 (11:48 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 2 Oct 2019 03:48:27 +0000 (11:48 +0800)
to silence the warning of

Package python36-devel is obsoleted by python3-devel, trying to install
python3-devel-3.6.8-10.el7.x86_64

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 3c52577cefebba3c685a72a62e1a05f10653a8a1..689d750f80714fa76dde01dbdc057f19ea47c103 100644 (file)
@@ -40,10 +40,9 @@ 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, 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
+# before installing the dependencies, python3-devel requires the
+# python-rpm-macro we use for identifying the python related dependencies
+$SUDO yum install -y python3-devel
 
 $SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
 
index 525b248cf2f3693daa35dae464fe547864eb9ee5..13c67f44652c99d96270d8023f9fc4b8585f901d 100644 (file)
@@ -39,11 +39,9 @@ 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, 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
+# before installing the dependencies, python3-devel requires the
+# python-rpm-macro we use for identifying the python related dependencies
+$SUDO yum install -y python3-devel
 
 $SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
 
index 525b248cf2f3693daa35dae464fe547864eb9ee5..13c67f44652c99d96270d8023f9fc4b8585f901d 100644 (file)
@@ -39,11 +39,9 @@ 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, 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
+# before installing the dependencies, python3-devel requires the
+# python-rpm-macro we use for identifying the python related dependencies
+$SUDO yum install -y python3-devel
 
 $SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec