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