From a30b16a020f52bebd9f06fcc7293ad78b26d34f4 Mon Sep 17 00:00:00 2001 From: Garrett Holmstrom Date: Tue, 2 Feb 2016 15:35:42 -0800 Subject: [PATCH] Rename python-boto to python2-boto This helps us comply with current python package naming standards. --- python-boto.spec | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/python-boto.spec b/python-boto.spec index 7a53c00..335f290 100644 --- a/python-boto.spec +++ b/python-boto.spec @@ -66,16 +66,31 @@ BuildRequires: python3-requests %endif # with python3 %endif # with unittests +BuildArch: noarch + + +%description +Boto is a Python package that provides interfaces to Amazon Web Services. +It supports over thirty services, such as S3 (Simple Storage Service), +SQS (Simple Queue Service), and EC2 (Elastic Compute Cloud) via their +REST and Query APIs. The goal of boto is to support the full breadth +and depth of Amazon Web Services. In addition, boto provides support +for other public services such as Google Storage in addition to private +cloud systems like Eucalyptus, OpenStack and Open Nebula. + + +%package -n python2-boto +Summary: A simple, lightweight interface to Amazon Web Services + Requires: python-requests Requires: python-rsa Requires: python-six >= 1.7 -Provides: python2-boto = %{version}-%{release} - -BuildArch: noarch +Provides: python-boto = %{version}-%{release} +Obsoletes: python-boto < 2.39 -%description +%description -n python2-boto Boto is a Python package that provides interfaces to Amazon Web Services. It supports over thirty services, such as S3 (Simple Storage Service), SQS (Simple Queue Service), and EC2 (Elastic Compute Cloud) via their @@ -149,7 +164,7 @@ mv $RPM_BUILD_ROOT/%{_bindir} examples %endif # with unittests -%files +%files -n python2-boto %license boto-mit-license.txt %doc README.rst %{python2_sitelib}/boto* @@ -173,6 +188,8 @@ mv $RPM_BUILD_ROOT/%{_bindir} examples - Updated to 2.39.0 (RH #1300424) - Switched to systemwide copy of python-six on el7 - Enabled unit tests on el7 +- Renamed python-boto to python2-boto to comply with current python + packaging standards * Mon Nov 30 2015 Ryan S. Brown - 2.38.0-5 - Add patch for unittest failure https://github.com/boto/boto/pull/3412