From 33f79a999c4b1cf7dfd69f15b753e5da48d0ce0d Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Dec 03 2016 16:14:09 +0000 Subject: Update to 1.11.24 --- diff --git a/.gitignore b/.gitignore index 5f9cb16..ffcc3dc 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/awscli.spec b/awscli.spec index 9e30189..34fbd20 100644 --- a/awscli.spec +++ b/awscli.spec @@ -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 - 1.11.24-1 +- Update to 1.11.24 + * Thu Nov 24 2016 Fabio Alessandro Locati - 1.11.21-1 - Update to 1.11.21 diff --git a/sources b/sources index fa4a1ff..cad0ff3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0f99b7d13c4acdc7932a24b63225500f awscli-1.11.21.tar.gz +e499caf95e35433522f1302078c729da awscli-1.11.24.tar.gz