]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
do_cmake.sh: add support for Fedora 41 61163/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 20 Dec 2024 17:46:29 +0000 (18:46 +0100)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 20 Dec 2024 18:01:32 +0000 (19:01 +0100)
Otherwise the `EXACT`check for Python version in the root
`CMakeList.txt` fails.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
do_cmake.sh

index 50befc81a49ca977f5f7923e96c6b1f9b5a20abe..3a408f0f90fb1018b04e193fded4f6752e29f569 100755 (executable)
@@ -19,7 +19,9 @@ if [ -r /etc/os-release ]; then
   source /etc/os-release
   case "$ID" in
       fedora)
-          if [ "$VERSION_ID" -ge "39" ] ; then
+          if [ "$VERSION_ID" -ge "41" ] ; then
+            PYBUILD="3.13"
+          elif [ "$VERSION_ID" -ge "39" ] ; then
             PYBUILD="3.12"
           else
             # Fedora 37 and above