From def597d06733f48ad2a510ce8e66f523da2913b771f8cc176df2708c3bdd4254 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 28 Oct 2016 16:22:48 +0000 Subject: [PATCH 1/4] Accepting request 435991 from home:aboe76:branches:devel:languages:python updated version to 1.3.0 OBS-URL: https://build.opensuse.org/request/show/435991 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=67 --- apache-libcloud-0.20.1.tar.bz2 | 3 --- apache-libcloud-1.3.0.tar.bz2 | 3 +++ python-apache-libcloud.changes | 7 +++++++ python-apache-libcloud.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 apache-libcloud-0.20.1.tar.bz2 create mode 100644 apache-libcloud-1.3.0.tar.bz2 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-1.3.0.tar.bz2 b/apache-libcloud-1.3.0.tar.bz2 new file mode 100644 index 0000000..23b835b --- /dev/null +++ b/apache-libcloud-1.3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b74fa9ee317b9e744f25fe2381c4a582545fe1259d133afc5a660b935a9861b +size 1025630 diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index c1e71af..2a9d268 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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..ed806a8 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -17,7 +17,7 @@ Name: python-apache-libcloud -Version: 0.20.1 +Version: 1.3.0 Release: 0 Summary: Abstract away differences among multiple cloud provider APIs License: Apache-2.0 From f063e76dfc96107051961374a95d8160624890955513e90b416877b101d81c1f Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 16 May 2017 13:58:42 +0000 Subject: [PATCH 2/4] Accepting request 492256 from home:aboe76:branches:devel:languages:python Updated to latest version 2.0.0 OBS-URL: https://build.opensuse.org/request/show/492256 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=68 --- apache-libcloud-1.3.0.tar.bz2 | 3 --- apache-libcloud-2.0.0.tar.bz2 | 3 +++ python-apache-libcloud.changes | 7 +++++++ python-apache-libcloud.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 apache-libcloud-1.3.0.tar.bz2 create mode 100644 apache-libcloud-2.0.0.tar.bz2 diff --git a/apache-libcloud-1.3.0.tar.bz2 b/apache-libcloud-1.3.0.tar.bz2 deleted file mode 100644 index 23b835b..0000000 --- a/apache-libcloud-1.3.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b74fa9ee317b9e744f25fe2381c4a582545fe1259d133afc5a660b935a9861b -size 1025630 diff --git a/apache-libcloud-2.0.0.tar.bz2 b/apache-libcloud-2.0.0.tar.bz2 new file mode 100644 index 0000000..9e1174f --- /dev/null +++ b/apache-libcloud-2.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ff695634d4f88e86c46a1ccc8676f9e96f3899d629f6410dc08d81053811d80 +size 1315343 diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index 2a9d268..db79e82 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index ed806a8..c8d3a28 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -17,7 +17,7 @@ Name: python-apache-libcloud -Version: 1.3.0 +Version: 2.0.0 Release: 0 Summary: Abstract away differences among multiple cloud provider APIs License: Apache-2.0 From aa38acb9270db3f4eb84b5e50bba016c8d5e95c0c5291c33d298097039d01038 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 16 May 2017 16:37:37 +0000 Subject: [PATCH 3/4] - convert to singlespec - update requires - update source url OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=69 --- python-apache-libcloud.changes | 7 +++++++ python-apache-libcloud.spec | 35 +++++++++++++++------------------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index db79e82..53c6745 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index c8d3a28..5825e2f 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,7 +15,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +#nospeccleaner +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-apache-libcloud Version: 2.0.0 Release: 0 @@ -23,43 +25,36 @@ 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.bz2 +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}/* From 3f9cc0621f9884cda28cda6fb7b25c982e642b4dfb734968c21fdf65b126e8f7 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 16 May 2017 16:44:39 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=70 --- apache-libcloud-2.0.0.tar.bz2 | 3 --- apache-libcloud-2.0.0.tar.gz | 3 +++ python-apache-libcloud.spec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 apache-libcloud-2.0.0.tar.bz2 create mode 100644 apache-libcloud-2.0.0.tar.gz diff --git a/apache-libcloud-2.0.0.tar.bz2 b/apache-libcloud-2.0.0.tar.bz2 deleted file mode 100644 index 9e1174f..0000000 --- a/apache-libcloud-2.0.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ff695634d4f88e86c46a1ccc8676f9e96f3899d629f6410dc08d81053811d80 -size 1315343 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.spec b/python-apache-libcloud.spec index 5825e2f..0c14dec 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -25,7 +25,7 @@ Summary: Abstract away differences among multiple cloud provider APIs License: Apache-2.0 Group: System/Monitoring Url: https://libcloud.apache.org -Source0: https://files.pythonhosted.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}