Update to 1.11.24

This commit is contained in:
Fabio Alessandro Locati 2016-12-03 16:14:09 +00:00
parent 1d05c9b74a
commit 33f79a999c
No known key found for this signature in database
GPG Key ID: 710BAB0B9BA5B117
3 changed files with 22 additions and 16 deletions

1
.gitignore vendored
View File

@ -23,3 +23,4 @@
/awscli-1.11.2.tar.gz
/awscli-1.11.10.tar.gz
/awscli-1.11.21.tar.gz
/awscli-1.11.24.tar.gz

View File

@ -1,11 +1,13 @@
%if 0%{?rhel}
%global with_python3 0
%bcond_with python3
%else
%global with_python3 1
%bcond_without python3
%endif
%global botocore_version 1.4.81
Name: awscli
Version: 1.11.21
Version: 1.11.24
Release: 1%{?dist}
Summary: Universal Command Line Environment for AWS
@ -13,10 +15,10 @@ License: ASL 2.0 and MIT
URL: http://aws.amazon.com/cli
Source0: https://pypi.io/packages/source/a/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
%if 0%{?with_python3}
%if %{with python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-botocore = 1.4.78
Requires: python3-botocore = %{botocore_version}
Requires: python3-colorama >= 0.2.5
Requires: python3-docutils >= 0.10
Requires: python3-rsa >= 3.1.2
@ -24,22 +26,22 @@ Requires: python3-s3transfer >= 0.1.9
%else
BuildRequires: python2-devel
BuildRequires: python-setuptools
Requires: python2-botocore = 1.4.67
Requires: python2-botocore = %{botocore_version}
Requires: python-colorama >= 0.2.5
Requires: python-docutils >= 0.10
Requires: python2-rsa >= 3.1.2
Requires: python2-s3transfer >= 0.1.9
%endif # with_python3
%endif # with python3
%if 0%{?fedora}
Recommends: bash-completion
Recommends: zsh
%endif # Fedora
%if 0%{?with_python3}
%if %{with python3}
%{?python_provide:%python_provide python3-%{name}}
%else
%{?python_provide:%python_provide python2-%{name}}
%endif # with_python3
%endif # with python3
%description
This package provides a unified
@ -50,18 +52,18 @@ command line interface to Amazon Web Services.
rm -rf %{name}.egg-info
%build
%if 0%{?with_python3}
%if %{with python3}
%py3_build
%else
%py2_build
%endif # with_python3
%endif # with python3
%install
%if 0%{?with_python3}
%if %{with python3}
%py3_install
%else
%py2_install
%endif # with_python3
%endif # with python3
# Fix path and permissions for bash completition
%global bash_completion_dir /etc/bash_completion.d
mkdir -p %{buildroot}%{bash_completion_dir}
@ -86,15 +88,18 @@ rm %{buildroot}%{_bindir}/aws.cmd
%{bash_completion_dir}/aws_bash_completer
%dir %{zsh_completion_dir}
%{zsh_completion_dir}/aws_zsh_completer.sh
%if 0%{?with_python3}
%if %{with python3}
%{python3_sitelib}/awscli
%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info
%else
%{python2_sitelib}/awscli
%{python2_sitelib}/%{name}-%{version}-py?.?.egg-info
%endif # with_python3
%endif # with python3
%changelog
* Sat Dec 03 2016 Fabio Alessandro Locati <fale@redhat.com> - 1.11.24-1
- Update to 1.11.24
* Thu Nov 24 2016 Fabio Alessandro Locati <fale@redhat.com> - 1.11.21-1
- Update to 1.11.21

View File

@ -1 +1 @@
0f99b7d13c4acdc7932a24b63225500f awscli-1.11.21.tar.gz
e499caf95e35433522f1302078c729da awscli-1.11.24.tar.gz