Blame SOURCES/bz1691456-gcloud-dont-detect-python2.patch

3efa9f
--- a/bundled/gcp/google-cloud-sdk/bin/gcloud	1980-01-01 09:00:00.000000000 +0100
3efa9f
+++ b/bundled/gcp/google-cloud-sdk/bin/gcloud	2021-10-14 11:30:17.726138166 +0200
3efa9f
@@ -128,6 +128,11 @@
3efa9f
   fi
3efa9f
 }
4d1913
 
3efa9f
+if [ -z "$CLOUDSDK_PYTHON" ]; then
4d1913
+  CLOUDSDK_PYTHON="/usr/libexec/platform-python"
3efa9f
+  CLOUDSDK_PYTHON_SITEPACKAGES=1
3efa9f
+fi
3efa9f
+
3efa9f
 setup_cloudsdk_python
4d1913
 
4d1913
 # $PYTHONHOME can interfere with gcloud. Users should use