|
|
@ -12,20 +12,26 @@
|
|
|
|
%global pypi_name boto3
|
|
|
|
%global pypi_name boto3
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Version: 1.2.4
|
|
|
|
Version: 1.3.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: The AWS SDK for Python
|
|
|
|
Summary: The AWS SDK for Python
|
|
|
|
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/boto/boto3
|
|
|
|
URL: https://github.com/boto/boto3
|
|
|
|
Source0: https://pypi.python.org/packages/source/b/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
|
Source0: https://pypi.io/packages/source/b/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
|
|
|
BuildRequires: python-nose
|
|
|
|
|
|
|
|
BuildRequires: python-mock
|
|
|
|
|
|
|
|
BuildRequires: python-wheel
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
BuildRequires: python3-nose
|
|
|
|
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -67,6 +73,8 @@ and Amazon EC2.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pypi_name}-%{version}
|
|
|
|
%setup -q -n %{pypi_name}-%{version}
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
|
|
|
|
# Remove online tests
|
|
|
|
|
|
|
|
rm -rf tests/integration
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py2_build
|
|
|
|
%py2_build
|
|
|
@ -80,6 +88,11 @@ rm -rf %{pypi_name}.egg-info
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
%py2_install
|
|
|
|
%py2_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
%{__python2} setup.py test
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-%{pypi_name}
|
|
|
|
%files -n python2-%{pypi_name}
|
|
|
|
%{!?_licensedir:%global license %doc}
|
|
|
|
%{!?_licensedir:%global license %doc}
|
|
|
@ -97,6 +110,12 @@ rm -rf %{pypi_name}.egg-info
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat May 28 2016 Fabio Alessandro Locati <fabio@locati.cc> - 1.3.1-1
|
|
|
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 29 2016 Fabio Alessandro Locati <fabio@locati.cc> - 1.3.0-1
|
|
|
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 19 2016 Fabio Alessandro Locati <fabio@locati.cc> - 1.2.4-1
|
|
|
|
* Fri Feb 19 2016 Fabio Alessandro Locati <fabio@locati.cc> - 1.2.4-1
|
|
|
|
- New upstream release
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
|
|