diff --git a/apache-libcloud-0.20.1.tar.bz2 b/apache-libcloud-0.20.1.tar.bz2 deleted file mode 100644 index 2aa6c69..0000000 --- a/apache-libcloud-0.20.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5afb1263329e6b60a69277d1fa5026d88fa65ec2964aaf4086d59d061c76faf -size 875309 diff --git a/apache-libcloud-2.0.0.tar.gz b/apache-libcloud-2.0.0.tar.gz new file mode 100644 index 0000000..d21412c --- /dev/null +++ b/apache-libcloud-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c72add0e74ca975bc51d9ad9cf3861a25825a76df56132c569b4b3c904f8e1a8 +size 1704652 diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index c1e71af..53c6745 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -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 diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index d6bebd2..0c14dec 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -15,51 +15,46 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +#nospeccleaner +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-apache-libcloud -Version: 0.20.1 +Version: 2.0.0 Release: 0 Summary: Abstract away differences among multiple cloud provider APIs License: Apache-2.0 Group: System/Monitoring 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: python -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 +BuildRequires: python-rpm-macros %if 0%{?suse_version} >= 1210 BuildRequires: systemd %endif -Requires(pre): %fillup_prereq -Requires(pre): %insserv_prereq +Requires: python-lxml +Requires: python-requests 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 -%endif +%python_subpackages %description -Apache Libcloud is a standard Python library that abstracts away +Apache Libcloud is a standard Python library that abstracts away differences among multiple cloud provider APIs. %prep %setup -q -n apache-libcloud-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install %fdupes %{buildroot}%{python_sitelib}/libcloud/test/ -%files +%files %{python_files} %defattr(-,root,root) %doc LICENSE CHANGES.rst README.rst %{python_sitelib}/*