[python-libcloud/el5] Initial EL5 build (version 0.14.1)

Erik Johnson terminalmage at fedoraproject.org
Tue Mar 25 02:56:47 UTC 2014


commit 74096ed6f9b74dce7c4dc99a0ba9402777b5cd24
Author: Erik Johnson <erik at saltstack.com>
Date:   Mon Mar 24 21:56:47 2014 -0500

    Initial EL5 build (version 0.14.1)

 python-libcloud.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/python-libcloud.spec b/python-libcloud.spec
index 7979ec5..9a36692 100644
--- a/python-libcloud.spec
+++ b/python-libcloud.spec
@@ -1,6 +1,11 @@
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%define pybasever 2.6
+%define __python_ver 26
+%define __python %{_bindir}/python%{?pybasever}
+
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 %global tarball_name apache-libcloud
+%global _module_name libcloud
 
 Name:           python-libcloud
 Version:        0.14.1
@@ -14,7 +19,9 @@ Source0:        http://pypi.python.org/packages/source/a/apache-libcloud/%{tarba
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  python2-devel python-setuptools
+
+Requires:       python26
+BuildRequires:  python26 python26-distribute
 
 %description
 libcloud is a client library for interacting with many of the popular cloud 
@@ -26,6 +33,7 @@ products that work between any of the services that it supports.
 
 
 %build
+echo %{python_sitelib}
 %{__python} setup.py build
 
 
@@ -45,6 +53,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
+
 * 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
 


More information about the scm-commits mailing list