[python26-boto/el5/master: 25/26] Forked python26-boto from Fedora's python-boto-1.9b-7

gholms gholms at fedoraproject.org
Fri Mar 4 17:51:59 UTC 2011


commit 3a6ec2cecdbc33004e36b9dcebfeff36f277773a
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Fri Mar 4 09:28:42 2011 -0800

    Forked python26-boto from Fedora's python-boto-1.9b-7

 python-boto.spec => python26-boto.spec |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/python-boto.spec b/python26-boto.spec
similarity index 85%
rename from python-boto.spec
rename to python26-boto.spec
index 899bb5b..3ca0114 100644
--- a/python-boto.spec
+++ b/python26-boto.spec
@@ -1,8 +1,14 @@
+# Use Python 2.6
+%global pybasever 2.6
+%global __python_ver 26
+%global __python %{_bindir}/python%{?pybasever}
+%global __os_install_post %{?__python%{?__python_ver}_os_install_post}
+
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %global pkgname boto
 
 Summary:	A simple lightweight interface to Amazon Web Services
-Name:		python-boto
+Name:		python%{__python_ver}-boto
 Version:	1.9b
 Release:	7%{?dist}
 License:	MIT
@@ -13,7 +19,7 @@ Patch0:		python-boto-1.9b-image.patch
 Patch1:		python-boto-1.9b-prefix.patch
 Patch2:		python-boto-1.9b-python27.patch
 Patch3:		python-boto-1.9b-python24.patch
-BuildRequires:	python-devel, python-setuptools-devel
+BuildRequires:	python%{?__python_ver}-devel, python%{?__python_ver}-setuptools
 BuildArch:	noarch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -38,22 +44,21 @@ use, lightweight wrapper around the Amazon services.
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
+# Executables should come from the regular python-boto package.
+rm -rf $RPM_BUILD_ROOT/%{_bindir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
 %doc README
-%{_bindir}/elbadmin
-%{_bindir}/fetch_file
-%{_bindir}/launch_instance
-%{_bindir}/list_instances
-%{_bindir}/s3put
-%{_bindir}/sdbadmin
-%{_bindir}/taskadmin
 %{python_sitelib}/*
 
 %changelog
+* Fri Mar 04 2011 Garrett Holmstrom <gholms at fedoraproject.org> - 1.9b-7
+- Forked python26-boto for el5 from Fedora's python-boto-1.9b-7
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.9b-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list