[python-libcloud/el5] Apache Libcloud release 0.15.0.
Daniel Bruno
dbruno at fedoraproject.org
Fri Jun 27 04:38:09 UTC 2014
commit 2414cfb4b047e34040514da79fc9f3627363a7cd
Author: Daniel Bruno <dbruno at transltr.localdomain>
Date: Fri Jun 27 00:36:55 2014 -0400
Apache Libcloud release 0.15.0.
.gitignore | 1 +
python-libcloud.spec | 42 ++++++++++++++++++++++++++++++------------
sources | 2 +-
3 files changed, 32 insertions(+), 13 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 9a36692..13386bb 100644
--- a/python-libcloud.spec
+++ b/python-libcloud.spec
@@ -1,27 +1,37 @@
-%define pybasever 2.6
-%define __python_ver 26
-%define __python %{_bindir}/python%{?pybasever}
-
+%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
-%global _module_name 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
-Requires: python26
-BuildRequires: python26 python26-distribute
+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
@@ -33,13 +43,20 @@ products that work between any of the services that it supports.
%build
-echo %{python_sitelib}
+%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
@@ -53,8 +70,9 @@ rm -rf %{buildroot}
%changelog
-* Mon Mar 24 2014 Erik Johnson <erik at saltstack.com> - 0.14.1-1
-- Initial build of 0.14.1 for EL5
+* 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