[python-libcloud/f19] Apache Libcloud release 0.15.0.
Daniel Bruno
dbruno at fedoraproject.org
Fri Jun 27 04:43:45 UTC 2014
commit 58c910adcaa55172864e796bf301139e21092553
Author: Daniel Bruno <dbruno at fedoraproject.org>
Date: Fri Jun 27 00:43:40 2014 -0400
Apache Libcloud release 0.15.0.
.gitignore | 1 +
python-libcloud.spec | 35 +++++++++++++++++++++++++++++++----
sources | 2 +-
3 files changed, 33 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 948895e..247c6e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
/apache-libcloud-0.13.3.tar.bz2
/apache-libcloud-0.14.0.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 0895632..13386bb 100644
--- a/python-libcloud.spec
+++ b/python-libcloud.spec
@@ -1,22 +1,37 @@
+%global __python26 /usr/bin/python2.6
%if 0%{?fedora} < 13 || 0%{?rhel} < 6
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%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
@@ -28,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
@@ -47,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