]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
do_cmake.sh: fedora-32 (rawhide) build with python-3.8 32474/head
authorKaleb S. KEITHLEY <kkeithle@redhat.com>
Fri, 3 Jan 2020 13:34:37 +0000 (08:34 -0500)
committerKaleb S. KEITHLEY <kkeithle@redhat.com>
Fri, 3 Jan 2020 13:34:37 +0000 (08:34 -0500)
Fedora-32 now has python-3.8.

Fedora-29 is EOL. All non-EOL versions of Fedora have python-3.7, except
Fedora-32

(Unclear to me why PYBUILD="3" isn't used, like Ubuntu and FreeBSD. That
would eliminate breakage when pyhon versions change in Rawhide.)

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
do_cmake.sh

index 12ab5377f873ae156515a5d57e778a40865ac0de..182b7b1a9fb8fe1a9f1979032abea74605e60100 100755 (executable)
@@ -16,8 +16,9 @@ if [ -r /etc/os-release ]; then
   source /etc/os-release
   case "$ID" in
       fedora)
-          if [ "$VERSION_ID" -ge "29" ] ; then
-              PYBUILD="3.7"
+          PYBUILD="3.7"
+          if [ "$VERSION_ID" -ge "32" ] ; then
+              PYBUILD="3.8"
           fi
           ;;
       rhel|centos)