Accepting request 495441 from devel:languages:python

- convert to singlespec
- update requires
- update source url

- Updated to apache libcloud 2.0.0
for the changelog see:
https://github.com/apache/libcloud/blob/trunk/CHANGES.rst#changes-in-apache-libcloud-200

- Updated to apache libcloud 1.3.0
for the changelog see:
https://github.com/apache/libcloud/blob/trunk/CHANGES.rst#changes-in-apache-libcloud-130

OBS-URL: https://build.opensuse.org/request/show/495441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2017-05-17 08:55:22 +00:00 committed by Git OBS Bridge
commit abfa735a0f
4 changed files with 40 additions and 24 deletions

View File

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

View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue May 16 16:37:05 UTC 2017 - jmatejek@suse.com
- convert to singlespec
- update requires
- update source url
-------------------------------------------------------------------
Sun Apr 30 20:51:53 UTC 2017 - aboe76@gmail.com
- Updated to apache libcloud 2.0.0
for the changelog see:
https://github.com/apache/libcloud/blob/trunk/CHANGES.rst#changes-in-apache-libcloud-200
-------------------------------------------------------------------
Tue Oct 18 20:49:14 UTC 2016 - aboe76@gmail.com
- Updated to apache libcloud 1.3.0
for the changelog see:
https://github.com/apache/libcloud/blob/trunk/CHANGES.rst#changes-in-apache-libcloud-130
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 20 20:58:45 UTC 2016 - aboe76@gmail.com Wed Jan 20 20:58:45 UTC 2016 - aboe76@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-apache-libcloud # spec file for package python-apache-libcloud
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,35 +15,30 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
#nospeccleaner
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-apache-libcloud Name: python-apache-libcloud
Version: 0.20.1 Version: 2.0.0
Release: 0 Release: 0
Summary: Abstract away differences among multiple cloud provider APIs Summary: Abstract away differences among multiple cloud provider APIs
License: Apache-2.0 License: Apache-2.0
Group: System/Monitoring Group: System/Monitoring
Url: https://libcloud.apache.org Url: https://libcloud.apache.org
Source0: http://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2 Source0: https://files.pythonhosted.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.gz
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python BuildRequires: python-rpm-macros
BuildRequires: python-setuptools
BuildRequires: python-xml
BuildRequires: python-lxml
BuildRequires: python-backports.ssl_match_hostname
Requires: python-simplejson
Requires: python-lxml
Requires: python-backports.ssl_match_hostname
%if 0%{?suse_version} >= 1210 %if 0%{?suse_version} >= 1210
BuildRequires: systemd BuildRequires: systemd
%endif %endif
Requires(pre): %fillup_prereq Requires: python-lxml
Requires(pre): %insserv_prereq Requires: python-requests
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch BuildArch: noarch
%endif %python_subpackages
%description %description
Apache Libcloud is a standard Python library that abstracts away Apache Libcloud is a standard Python library that abstracts away
@ -53,13 +48,13 @@ differences among multiple cloud provider APIs.
%setup -q -n apache-libcloud-%{version} %setup -q -n apache-libcloud-%{version}
%build %build
python setup.py build %python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%fdupes %{buildroot}%{python_sitelib}/libcloud/test/ %fdupes %{buildroot}%{python_sitelib}/libcloud/test/
%files %files %{python_files}
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE CHANGES.rst README.rst %doc LICENSE CHANGES.rst README.rst
%{python_sitelib}/* %{python_sitelib}/*