- Version update to 2.3.0:

* For the changes see CHANGES.rst as it is too long
  * many various bugfixes
- Drop no longer applying patch fix-backports-usage.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=73
This commit is contained in:
Tomáš Chvátal 2018-05-02 15:36:50 +00:00 committed by Git OBS Bridge
parent 85c93f76f0
commit 97a07ee0a3
5 changed files with 17 additions and 29 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c72add0e74ca975bc51d9ad9cf3861a25825a76df56132c569b4b3c904f8e1a8
size 1704652

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e2eee3802163bd0605975ed1e284cafc23203919bfa80c0cc5d3cd2543aaf97
size 1801711

View File

@ -1,12 +0,0 @@
diff -uNr apache-libcloud-2.0.0.orig/libcloud/utils/py3.py apache-libcloud-2.0.0/libcloud/utils/py3.py
--- apache-libcloud-2.0.0.orig/libcloud/utils/py3.py 2017-09-30 15:18:35.359491824 +0200
+++ apache-libcloud-2.0.0/libcloud/utils/py3.py 2017-09-30 15:19:00.418868653 +0200
@@ -68,7 +68,7 @@
if sys.version_info >= (3, 2) and sys.version_info < (3, 3):
PY32 = True
-if PY2_pre_279 or PY3_pre_32:
+if PY2 or PY3_pre_32:
try:
from backports.ssl_match_hostname import match_hostname, CertificateError # NOQA
except ImportError:

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed May 2 15:33:17 UTC 2018 - tchvatal@suse.com
- Version update to 2.3.0:
* For the changes see CHANGES.rst as it is too long
* many various bugfixes
- Drop no longer applying patch fix-backports-usage.patch
-------------------------------------------------------------------
Sat Sep 30 13:29:33 UTC 2017 - mc@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-apache-libcloud
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,30 +16,23 @@
#
#nospeccleaner
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-apache-libcloud
Version: 2.0.0
Version: 2.3.0
Release: 0
Summary: Abstract away differences among multiple cloud provider APIs
License: Apache-2.0
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
Patch0: fix-backports-usage.patch
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: python-backports.ssl_match_hostname
BuildRequires: python-rpm-macros
%if 0%{?suse_version} >= 1210
BuildRequires: systemd
%endif
Requires: python-lxml
Requires: python-requests
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -49,18 +42,17 @@ differences among multiple cloud provider APIs.
%prep
%setup -q -n apache-libcloud-%{version}
%patch0 -p1
%build
%python_build
%install
%python_install
%fdupes %{buildroot}%{_prefix}
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root)
%doc LICENSE CHANGES.rst README.rst
%license LICENSE
%doc CHANGES.rst README.rst
%{python_sitelib}/*
%changelog