From 5142b789272b8972b349f4a008a1b9c3cca034f4843d741b6dce24b8a55e2c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 22 Feb 2020 07:30:59 +0000 Subject: [PATCH] Accepting request 778082 from home:seanmarlow:branches:devel:languages:python - Add gce_image_projects.patch to update the current list of SUSE image projects in GCE. OBS-URL: https://build.opensuse.org/request/show/778082 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=94 --- gce_image_projects.patch | 44 ++++++++++++++++++++++++++++++++++ python-apache-libcloud.changes | 6 +++++ python-apache-libcloud.spec | 2 ++ 3 files changed, 52 insertions(+) create mode 100644 gce_image_projects.patch diff --git a/gce_image_projects.patch b/gce_image_projects.patch new file mode 100644 index 0000000..6c8bf78 --- /dev/null +++ b/gce_image_projects.patch @@ -0,0 +1,44 @@ +Index: apache-libcloud-2.8.0/libcloud/compute/drivers/gce.py +=================================================================== +--- apache-libcloud-2.8.0.orig/libcloud/compute/drivers/gce.py ++++ apache-libcloud-2.8.0/libcloud/compute/drivers/gce.py +@@ -1803,20 +1803,35 @@ class GCENodeDriver(NodeDriver): + "rhel-8", + ], + "suse-cloud": [ +- "sles-11", + "sles-12", + "sles-15", + ], + "suse-byos-cloud": [ +- "sles-11-byos", "sles-12-byos", +- "sles-12-sp2-sap-byos", "sles-12-sp3-sap-byos", +- "suse-manager-proxy-byos", "suse-manager-server-byos" ++ "sles-11-byos", ++ "sles-12-byos", ++ "sles-15-byos", ++ "sles-12-sp1-sap-byos", ++ "sles-12-sp2-sap-byos", ++ "sles-12-sp3-sap-byos", ++ "sles-12-sp4-sap-byos", ++ "sles-12-sp5-sap-byos", ++ "sles-15-sap-byos", ++ "sles-15-sp1-sap-byos", ++ "sles-15-sp1-chost-byos", ++ "suse-manager-proxy", ++ "suse-manager-server" + ], + "suse-sap-cloud": [ + "sles-12-sp2-sap", + "sles-12-sp3-sap", + "sles-12-sp4-sap", ++ "sles-12-sp5-sap", + "sles-15-sap", ++ "sles-15-sp1-sap", ++ ], ++ "suse-sap-cal-cloud": [ ++ "sles-12-sp1-sapcal", ++ "sles-12-sp3-sapcal", + ], + "ubuntu-os-cloud": [ + "ubuntu-1404-lts", diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index f8cae93..e290ff8 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 19:48:04 UTC 2020 - Sean Marlow + +- Add gce_image_projects.patch to update the current list of SUSE + image projects in GCE. + ------------------------------------------------------------------- Thu Jan 16 17:28:20 UTC 2020 - Marketa Calabkova diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index 2bc5864..16d987a 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -25,6 +25,7 @@ License: Apache-2.0 Group: System/Monitoring URL: https://libcloud.apache.org Source0: https://files.pythonhosted.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.gz +Patch1: gce_image_projects.patch Patch2: ec2_create_node.patch BuildRequires: %{python_module libvirt-python} BuildRequires: %{python_module lockfile} @@ -57,6 +58,7 @@ differences among multiple cloud provider APIs. %prep %setup -q -n apache-libcloud-%{version} +%patch1 -p1 %patch2 -p1 sed -i '/^#!/d' demos/gce_demo.py chmod a-x demos/gce_demo.py