[python-libcloud/el6] Apache Libcloud release 0.15.0.

Daniel Bruno dbruno at fedoraproject.org
Fri Jun 27 04:45:59 UTC 2014


commit 88057ef285cf85a8660b41cb4937b7aa8a18f28e
Author: Daniel Bruno <dbruno at fedoraproject.org>
Date:   Fri Jun 27 00:45:53 2014 -0400

    Apache Libcloud release 0.15.0.

 .gitignore           |    1 +
 python-libcloud.spec |   37 +++++++++++++++++++++++++++++++++----
 sources              |    2 +-
 3 files changed, 35 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f17d49d..84bee77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
 >>>>>>> 250ecdf29f7522dcf82f41ea8b3da5a1c09e110f
 /apache-libcloud-0.12.1.tar.bz2
 /apache-libcloud-0.14.1.tar.bz2
+/apache-libcloud-0.15.0.tar.gz
diff --git a/python-libcloud.spec b/python-libcloud.spec
index 7979ec5..13386bb 100644
--- a/python-libcloud.spec
+++ b/python-libcloud.spec
@@ -1,20 +1,37 @@
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%global __python26 /usr/bin/python2.6
+%if 0%{?fedora} < 13 || 0%{?rhel} < 6
+%define python26_sitelib %(%{__python26} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
+%global __os_install_post %{__python26_os_install_post}
+%else
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
 
 %global tarball_name apache-libcloud
 
 Name:           python-libcloud
-Version:        0.14.1
+Version:        0.15.0
 Release:        1%{?dist}
 Summary:        A Python library to address multiple cloud provider APIs
 
 Group:          Development/Languages
 License:        ASL 2.0
 URL:            http://libcloud.apache.org/
-Source0:        http://pypi.python.org/packages/source/a/apache-libcloud/%{tarball_name}-%{version}.tar.bz2
+Source0:        http://pypi.python.org/packages/source/a/apache-libcloud/%{tarball_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  python2-devel python-setuptools
+
+BuildRequires:  python-setuptools
+
+%if 0%{?fedora} < 13 || 0%{?rhel} < 6
+BuildRequires:  python26-devel
+%else
+BuildRequires:  python2-devel
+%endif
+
+%if 0%{?fedora} < 13 || 0%{?rhel} < 6
+Requires:	python26
+%endif
 
 %description
 libcloud is a client library for interacting with many of the popular cloud 
@@ -26,12 +43,20 @@ products that work between any of the services that it supports.
 
 
 %build
+%if 0%{?fedora} < 13 || 0%{?rhel} < 6
+%{__python26} setup.py build
+%else
 %{__python} setup.py build
+%endif
 
 
 %install
 rm -rf %{buildroot}
+%if 0%{?fedora} < 13 || 0%{?rhel} < 6
+%{__python26} setup.py install -O1 --skip-build --root %{buildroot}
+%else
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%endif
 
  
 %clean
@@ -45,6 +70,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Jun 27 2014 Daniel Bruno <dbruno at fedoraproject.org> - 0.15.0-1
+- First release in the 0.15 series which it brings many new features,
+  improvements and bug fixes
+
 * Mon Feb 10 2014 Daniel Bruno <dbruno at fedoraproject.org> - 0.14.1-1
 - Release 0.14.1 includes some bug-fixes, improvements and new features
 
diff --git a/sources b/sources
index 9b91c4a..050f444 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0270c54b3f61a60a008271d92addb7b8  apache-libcloud-0.14.1.tar.bz2
+6b5dfe407dab5561eac2060f313b5193  apache-libcloud-0.15.0.tar.gz


More information about the scm-commits mailing list