Accepting request 629550 from devel:languages:python
- Cleanup RPM warnings. - Add image_projects.patch with updated list of latest image projects. OBS-URL: https://build.opensuse.org/request/show/629550 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=22
This commit is contained in:
commit
f2aad8301c
57
image_projects.patch
Normal file
57
image_projects.patch
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
Index: apache-libcloud-2.3.0/libcloud/compute/drivers/gce.py
|
||||||
|
===================================================================
|
||||||
|
--- apache-libcloud-2.3.0.orig/libcloud/compute/drivers/gce.py
|
||||||
|
+++ apache-libcloud-2.3.0/libcloud/compute/drivers/gce.py
|
||||||
|
@@ -1751,16 +1751,42 @@ class GCENodeDriver(NodeDriver):
|
||||||
|
}
|
||||||
|
|
||||||
|
IMAGE_PROJECTS = {
|
||||||
|
- "centos-cloud": ["centos"],
|
||||||
|
- "coreos-cloud": ["coreos"],
|
||||||
|
- "debian-cloud": ["debian", "backports"],
|
||||||
|
- "gce-nvme": ["nvme-backports"],
|
||||||
|
- "google-containers": ["container-vm"],
|
||||||
|
- "opensuse-cloud": ["opensuse"],
|
||||||
|
- "rhel-cloud": ["rhel"],
|
||||||
|
- "suse-cloud": ["sles", "suse"],
|
||||||
|
- "ubuntu-os-cloud": ["ubuntu"],
|
||||||
|
- "windows-cloud": ["windows"],
|
||||||
|
+ "centos-cloud": ["centos-6", "centos-7"],
|
||||||
|
+ "cos-cloud": ["cos-beta", "cos-dev", "cos-stable"],
|
||||||
|
+ "coreos-cloud": ["coreos-alpha", "coreos-beta", "coreos-stable"],
|
||||||
|
+ "debian-cloud": ["debian-8", "debian-9"],
|
||||||
|
+ "opensuse-cloud": ["opensuse-leap"],
|
||||||
|
+ "rhel-cloud": ["rhel-6", "rhel-7"],
|
||||||
|
+ "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",
|
||||||
|
+ "sles-15-sap-byos",
|
||||||
|
+ "suse-manager-proxy-byos", "suse-manager-server-byos"
|
||||||
|
+ ],
|
||||||
|
+ "suse-sap-cloud": [
|
||||||
|
+ "sles-12-sp2-sap", "sles-12-sp3-sap",
|
||||||
|
+ "sles-15-sap"
|
||||||
|
+ ],
|
||||||
|
+ "ubuntu-os-cloud": [
|
||||||
|
+ "ubuntu-1404-lts", "ubuntu-1604-lts", "ubuntu-1710"
|
||||||
|
+ ],
|
||||||
|
+ "windows-cloud": [
|
||||||
|
+ "windows-1709-core-for-containers", "windows-1709-core",
|
||||||
|
+ "windows-2008-r2", "windows-2012-r2-core", "windows-2012-r2",
|
||||||
|
+ "windows-2016-core", "windows-2016"
|
||||||
|
+ ],
|
||||||
|
+ "windows-sql-cloud": [
|
||||||
|
+ "sql-ent-2012-win-2012-r2", "sql-std-2012-win-2012-r2",
|
||||||
|
+ "sql-web-2012-win-2012-r2", "sql-ent-2014-win-2012-r2",
|
||||||
|
+ "sql-ent-2014-win-2016", "sql-std-2014-win-2012-r2",
|
||||||
|
+ "sql-web-2014-win-2012-r2", "sql-ent-2016-win-2012-r2",
|
||||||
|
+ "sql-ent-2016-win-2016", "sql-std-2016-win-2012-r2",
|
||||||
|
+ "sql-std-2016-win-2016", "sql-web-2016-win-2012-r2",
|
||||||
|
+ "sql-web-2016-win-2016", "sql-ent-2017-win-2016",
|
||||||
|
+ "sql-exp-2017-win-2012-r2", "sql-exp-2017-win-2016",
|
||||||
|
+ "sql-std-2017-win-2016", "sql-web-2017-win-2016"
|
||||||
|
+ ],
|
||||||
|
}
|
||||||
|
|
||||||
|
BACKEND_SERVICE_PROTOCOLS = ['HTTP', 'HTTPS', 'HTTP2', 'TCP', 'SSL']
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 14 17:57:22 UTC 2018 - sean.marlow@suse.com
|
||||||
|
|
||||||
|
- Cleanup RPM warnings.
|
||||||
|
- Add image_projects.patch with updated list of latest image
|
||||||
|
projects.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 6 13:14:09 UTC 2018 - jengelh@inai.de
|
Wed Jun 6 13:14:09 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -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: image_projects.patch
|
||||||
BuildRequires: %{python_module lxml}
|
BuildRequires: %{python_module lxml}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module xml}
|
BuildRequires: %{python_module xml}
|
||||||
@ -34,10 +35,10 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildRequires: python2
|
BuildRequires: python2
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
|
BuildArch: noarch
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python2
|
Requires: python2
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -46,12 +47,16 @@ differences among multiple cloud provider APIs.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n apache-libcloud-%{version}
|
%setup -q -n apache-libcloud-%{version}
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
find %{buildroot} -name '*.DS_Store' -delete
|
||||||
|
find %{buildroot} -name '*.json' -size 0 -delete
|
||||||
|
find %{buildroot} -name '*.pem' -size 0 -delete
|
||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user