]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cpatch: allow python 3.6 or 3.8
authorSage Weil <sage@newdream.net>
Wed, 24 Mar 2021 19:55:51 +0000 (15:55 -0400)
committerSage Weil <sage@newdream.net>
Wed, 24 Mar 2021 19:55:51 +0000 (15:55 -0400)
This fixes usage on el8

Signed-off-by: Sage Weil <sage@newdream.net>
src/script/cpatch

index 854ced1b86eece77c8764fc39c115f7de39919fd..8a981573a5fdb286ec8b617caef126c782a4c9c7 100755 (executable)
@@ -137,7 +137,7 @@ if [ $py -eq 1 ] || [ $all -eq 1 ]; then
     dockerfile+=$'ADD python_common.tar /usr/lib/python3.8/site-packages\n'
 
     pushd lib/cython_modules/lib.3
-    CYTHONLIBS="*.cpython-38*.so"
+    CYTHONLIBS="*.cpython-3*.so"
     mkdir -p $TMP/cythonlib
     for f in $CYTHONLIBS; do cp $f $TMP/cythonlib ; done
     [ $strip -eq 1 ] && strip $TMP/cythonlib/*