diff --git a/boto-mit-license.txt b/boto-mit-license.txt new file mode 100644 index 0000000..88d3464 --- /dev/null +++ b/boto-mit-license.txt @@ -0,0 +1,37 @@ +# Copyright (c) 2006-2012 Mitch Garnaat http://garnaat.org/ +# Copyright (c) 2010, Eucalyptus Systems, Inc. +# Copyright (c) 2012 Amazon.com, Inc. or its affiliates. +# All rights reserved. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, dis- +# tribute, sublicense, and/or sell copies of the Software, and to permit +# persons to whom the Software is furnished to do so, subject to the fol- +# lowing conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- +# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +# +# Parts of this code were copied or derived from sample code supplied by AWS. +# The following notice applies to that code. +# +# This software code is made available "AS IS" without warranties of any +# kind. You may copy, display, modify and redistribute the software +# code either by itself or as incorporated into your code; provided that +# you do not remove any proprietary notices. Your use of this software +# code is at your own risk and you waive any claim against Amazon +# Digital Services, Inc. or its affiliates with respect to your use of +# this software code. (c) 2006 Amazon Digital Services, Inc. or its +# affiliates. + diff --git a/python-boto.spec b/python-boto.spec index 13362ce..6928058 100644 --- a/python-boto.spec +++ b/python-boto.spec @@ -2,11 +2,13 @@ Summary: A simple, lightweight interface to Amazon Web Services Name: python-boto Version: 2.27.0 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT Group: Development/Languages URL: https://github.com/boto/boto -Source: http://pypi.python.org/packages/source/b/boto/boto-%{version}.tar.gz +Source0: http://pypi.python.org/packages/source/b/boto/boto-%{version}.tar.gz +# Taken from sourcecode 2014-07-31 +Source1: boto-mit-license.txt BuildRequires: python-devel BuildRequires: python-setuptools @@ -25,6 +27,7 @@ cloud systems like Eucalyptus, OpenStack and Open Nebula. %prep %setup -q -n boto-%{version} +cp %{SOURCE1} . rm -r boto.egg-info @@ -35,6 +38,8 @@ rm -r boto.egg-info %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %files +%{!?_licensedir:%global license %%doc} +%license boto-mit-license.txt %{_bindir}/asadmin %{_bindir}/bundle_image %{_bindir}/cfadmin @@ -60,6 +65,9 @@ rm -r boto.egg-info %{python_sitelib}/boto*.egg-info %changelog +* Thu Jul 31 2014 Tom Callaway - 2.27.0-3 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 2.27.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild