From 1c58ae7dbe4a406f1b24aee16563c4bf0ab794e2 Mon Sep 17 00:00:00 2001 From: Daniel Bruno Date: Fri, 27 Jun 2014 00:41:53 -0400 Subject: [PATCH] Apache Libcloud release 0.15.0. --- .gitignore | 1 + python-libcloud.spec | 38 +++++++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 33 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 9a64a75..c5563cc 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,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 841fba0..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 -Release: 2%{?dist} +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,8 +70,9 @@ rm -rf %{buildroot} %changelog -* Sat Jun 07 2014 Fedora Release Engineering - 0.14.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild +* Fri Jun 27 2014 Daniel Bruno - 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 - 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