diff --git a/SOURCES/bz1581138-fix-unsupported-max_bandwidth.patch b/SOURCES/bz1581138-fix-unsupported-max_bandwidth.patch new file mode 100644 index 0000000..036a7c4 --- /dev/null +++ b/SOURCES/bz1581138-fix-unsupported-max_bandwidth.patch @@ -0,0 +1,11 @@ +diff -uNr a/awscli/customizations/s3/transferconfig.py b/awscli/customizations/s3/transferconfig.py +--- a/awscli/customizations/s3/transferconfig.py 2018-01-18 02:06:58.000000000 +0100 ++++ b/awscli/customizations/s3/transferconfig.py 2018-05-24 13:45:29.714544364 +0200 +@@ -109,7 +109,6 @@ + 'max_queue_size': 'max_request_queue_size', + 'multipart_threshold': 'multipart_threshold', + 'multipart_chunksize': 'multipart_chunksize', +- 'max_bandwidth': 'max_bandwidth', + } + kwargs = {} + for key, value in runtime_config.items(): diff --git a/SPECS/awscli.spec b/SPECS/awscli.spec index 5e3df4e..2704305 100644 --- a/SPECS/awscli.spec +++ b/SPECS/awscli.spec @@ -13,7 +13,7 @@ Name: awscli Version: 1.14.28 -Release: 5%{?dist} +Release: 5%{?dist}.1 Summary: Universal Command Line Environment for AWS License: ASL 2.0 @@ -22,6 +22,7 @@ Source0: %{name}/%{name}-%{version}.tar.gz Source1: colorama-%{colorama_version}.tar.gz Patch0: python-rsa-to-cryptography.patch Patch1: bundled-python-botocore.patch +Patch2: bz1581138-fix-unsupported-max_bandwidth.patch BuildArch: noarch %if %{with python3} BuildRequires: python3-devel @@ -70,8 +71,10 @@ rm -rf %{name}.egg-info # python-botocore bundled in python-s3transfer %patch1 -p1 +# fix unsupported max_bandwidth +%patch2 -p1 + # python-colorama bundle -#%patch2 -p1 mkdir -p %{bundled_lib_dir} tar -xzf %SOURCE1 -C %{bundled_lib_dir} mv %{bundled_lib_dir}/colorama-%{colorama_version} %{colorama_dir} @@ -145,6 +148,11 @@ popd %{_libdir}/fence-agents/bundled %changelog +* Thu May 24 2018 Oyvind Albrigtsen - 1.14.28-5.1 +- Fix unsupported max_bandwidth issue + + Resolves: rhbz#1581138 + * Mon Feb 12 2018 Oyvind Albrigtsen - 1.14.28-5 - Append python-botocore and python-jmespath bundled directory to search path where needed