[python-libcloud/epel7] Initial epel7 build
Erik Johnson
terminalmage at fedoraproject.org
Wed Jul 2 20:44:04 UTC 2014
commit 42c31b478bd3b03256e062dbdd90334a7463dfa9
Author: Erik Johnson <erik at saltstack.com>
Date: Wed Jul 2 15:44:07 2014 -0500
Initial epel7 build
python-libcloud.spec | 78 ++------------------------------------------------
1 files changed, 3 insertions(+), 75 deletions(-)
---
diff --git a/python-libcloud.spec b/python-libcloud.spec
index 13386bb..709f45a 100644
--- a/python-libcloud.spec
+++ b/python-libcloud.spec
@@ -1,10 +1,4 @@
-%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
@@ -22,20 +16,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
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
-server providers. It was created to make it easy for developers to build
+server providers. It was created to make it easy for developers to build
products that work between any of the services that it supports.
%prep
@@ -43,20 +28,12 @@ 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
@@ -70,54 +47,5 @@ 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
-
-* Fri Jan 31 2014 Daniel Bruno <dbruno at fedoraproject.org> - 0.14.0-1
-- Libcloud new release 0.14.0
-
-* Fri Jan 03 2014 Daniel Bruno <dbruno at fedoraproject.org> - 0.13.3-1
-- Security Fix - BUG: 1047867 1047868
-
-* Thu Sep 19 2013 Daniel Bruno <dbruno at fedoraproject.org> - 0.13.2-11
-- Some bug fixes from Upstream
-
-* Mon Sep 09 2013 Daniel Bruno <dbruno at fedoraproject.org> - 0.13.1-10
-- Update to upstream release 0.13.1
-
-* Mon Jul 01 2013 Daniel Bruno dbruno at fedoraproject.org - 0.13.0-9
-- Update to upstream release 0.13.0, more details on Release Notes.
-
-* Thu May 16 2013 Daniel Bruno dbruno at fedoraproject.org - 0.12.4-8
-- Update to upstream version 0.12.4
-
-* Tue Mar 26 2013 Daniel Bruno dbruno at fedoraproject.org - 0.12.3-6
-- Update to upstream version 0.12.3
-
-* Tue Feb 19 2013 Daniel Bruno dbruno at fedoraproject.org - 0.12.1-5
-- Update to upstream version 0.12.1
-
-* Wed Oct 10 2012 Daniel Bruno dbruno at fedoraproject.org - 0.11.3-4
-- Update to 0.11.3
-
-* Thu Aug 02 2012 Daniel Bruno dbruno at fedoraproject.org - 0.11.1-3
-- Updating to upstream release 0.11.1
-
-* Fri Jun 15 2012 Daniel Bruno dbruno at fedoraproject.org - 0.9.1-2
-- Update to upstream version 0.10.1
-
-* Mon Apr 16 2012 Daniel Bruno dbruno at fedoraproject.org - 0.9.1-1
-- update to 0.9.1
-
-* Mon Mar 26 2012 Daniel Bruno dbruno at fedoraproject.org - 0.8.0-4
-- Updating release to 0.8.0
-
-* Fri Dec 30 2011 Daniel Bruno dbruno at fedoraproject.org - 0.6.2-3
-- Standardizing the description
-
-* Tue Nov 22 2011 Daniel Bruno dbruno at fedoraproject.org - 0.6.2-2
-- First build package build
+* Wed Jul 2 2014 Erik Johnson <erik at saltstack.com> - 0.15.0-1
+- Initial epel7 build
More information about the scm-commits
mailing list