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
This commit is contained in:
parent
d6ce3c5cb9
commit
5142b78927
44
gce_image_projects.patch
Normal file
44
gce_image_projects.patch
Normal file
@ -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",
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 21 19:48:04 UTC 2020 - Sean Marlow <sean.marlow@suse.com>
|
||||||
|
|
||||||
|
- 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 <mcalabkova@suse.com>
|
Thu Jan 16 17:28:20 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ License: Apache-2.0
|
|||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
URL: https://libcloud.apache.org
|
URL: https://libcloud.apache.org
|
||||||
Source0: https://files.pythonhosted.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.gz
|
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
|
Patch2: ec2_create_node.patch
|
||||||
BuildRequires: %{python_module libvirt-python}
|
BuildRequires: %{python_module libvirt-python}
|
||||||
BuildRequires: %{python_module lockfile}
|
BuildRequires: %{python_module lockfile}
|
||||||
@ -57,6 +58,7 @@ differences among multiple cloud provider APIs.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n apache-libcloud-%{version}
|
%setup -q -n apache-libcloud-%{version}
|
||||||
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
sed -i '/^#!/d' demos/gce_demo.py
|
sed -i '/^#!/d' demos/gce_demo.py
|
||||||
chmod a-x demos/gce_demo.py
|
chmod a-x demos/gce_demo.py
|
||||||
|
Loading…
Reference in New Issue
Block a user