Accepting request 635509 from home:glaubitz:branches:Cloud:Tools

- Update to version 1.16.1 (bsc#1105988, bsc#1092493)
  + Fix CVE-2018-15869
  + For detailed changes see
    https://github.com/aws/aws-cli/blob/1.16.1/CHANGELOG.rst
  + Forward port hide_py_pckgmgmt.patch
  + Replace vendored version of six from botocore with upstream version
  + Update Requires in spec file from setup.py

OBS-URL: https://build.opensuse.org/request/show/635509
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=46
This commit is contained in:
Robert Schweikert 2018-09-17 14:53:24 +00:00 committed by Git OBS Bridge
parent c0ca52c7cb
commit f402cdaa17
5 changed files with 25 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be765387533de0674493d4dd467044b5f1b700c4fe991062666e46dec267cc81
size 1107173

3
aws-cli-1.16.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c3ac5bd4a55bdf4a41264428e82444b3425e00a00a4e5d7945fbab3b3f520e6b
size 1107514

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Sep 13 10:23:47 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.16.1 (bsc#1105988, bsc#1092493)
+ Fix CVE-2018-15869
+ For detailed changes see
https://github.com/aws/aws-cli/blob/1.16.1/CHANGELOG.rst
+ Forward port hide_py_pckgmgmt.patch
+ Replace vendored version of six from botocore with upstream version
+ Update Requires in spec file from setup.py
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 13 14:47:29 UTC 2018 - adrian.glaubitz@suse.com Mon Aug 13 14:47:29 UTC 2018 - adrian.glaubitz@suse.com

View File

@ -17,7 +17,7 @@
Name: aws-cli Name: aws-cli
Version: 1.15.76 Version: 1.16.1
Release: 0 Release: 0
Summary: Amazon Web Services Command Line Interface Summary: Amazon Web Services Command Line Interface
License: Apache-2.0 License: Apache-2.0
@ -29,7 +29,7 @@ Patch0: hide_py_pckgmgmt.patch
Requires: python3 Requires: python3
Requires: python3-PyYAML <= 4.0 Requires: python3-PyYAML <= 4.0
Requires: python3-PyYAML >= 3.10 Requires: python3-PyYAML >= 3.10
Requires: python3-botocore >= 1.10.75 Requires: python3-botocore >= 1.11.1
Requires: python3-colorama <= 0.3.9 Requires: python3-colorama <= 0.3.9
Requires: python3-colorama >= 0.2.5 Requires: python3-colorama >= 0.2.5
Requires: python3-docutils >= 0.10 Requires: python3-docutils >= 0.10
@ -37,13 +37,14 @@ Requires: python3-rsa <= 3.5.0
Requires: python3-rsa >= 3.1.2 Requires: python3-rsa >= 3.1.2
Requires: python3-s3transfer <= 0.2.0 Requires: python3-s3transfer <= 0.2.0
Requires: python3-s3transfer >= 0.1.12 Requires: python3-s3transfer >= 0.1.12
Requires: python3-six
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
%else %else
Requires: python Requires: python
Requires: python-PyYAML <= 3.13 Requires: python-PyYAML <= 3.13
Requires: python-PyYAML >= 3.10 Requires: python-PyYAML >= 3.10
Requires: python-botocore >= 1.10.75 Requires: python-botocore >= 1.11.1
Requires: python-colorama <= 0.3.9 Requires: python-colorama <= 0.3.9
Requires: python-colorama >= 0.2.5 Requires: python-colorama >= 0.2.5
Requires: python-docutils >= 0.10 Requires: python-docutils >= 0.10
@ -51,6 +52,7 @@ Requires: python-rsa <= 3.5.0
Requires: python-rsa >= 3.1.2 Requires: python-rsa >= 3.1.2
Requires: python-s3transfer <= 0.2.0 Requires: python-s3transfer <= 0.2.0
Requires: python-s3transfer >= 0.1.12 Requires: python-s3transfer >= 0.1.12
Requires: python-six
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
%endif %endif
@ -64,6 +66,8 @@ from the command line and automated through scripts.
%prep %prep
%setup -q %setup -q
%patch0 %patch0
sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py
sed -i 's/botocore\.vendored\.//' awscli/customizations/configure/__init__.py
%build %build
%if 0%{?suse_version} && 0%{?suse_version} > 1315 %if 0%{?suse_version} && 0%{?suse_version} > 1315

View File

@ -1,16 +1,16 @@
--- setup.py.orig 2018-08-10 22:13:09.000000000 +0200 --- setup.py.orig 2018-08-25 03:51:52.000000000 +0200
+++ setup.py 2018-08-13 16:41:02.210656456 +0200 +++ setup.py 2018-08-25 17:41:34.441844517 +0200
@@ -23,18 +23,18 @@ @@ -23,18 +23,18 @@
raise RuntimeError("Unable to find version string.") raise RuntimeError("Unable to find version string.")
-requires = ['botocore==1.10.75', -requires = ['botocore==1.11.1',
- 'colorama>=0.2.5,<=0.3.9', - 'colorama>=0.2.5,<=0.3.9',
- 'docutils>=0.10', - 'docutils>=0.10',
- 'rsa>=3.1.2,<=3.5.0', - 'rsa>=3.1.2,<=3.5.0',
- 's3transfer>=0.1.12,<0.2.0', - 's3transfer>=0.1.12,<0.2.0',
- 'PyYAML>=3.10,<=3.13'] - 'PyYAML>=3.10,<=3.13']
+# requires = ['botocore==1.10.75', +# requires = ['botocore==1.11.1',
+# 'colorama>=0.2.5,<=0.3.9', +# 'colorama>=0.2.5,<=0.3.9',
+# 'docutils>=0.10', +# 'docutils>=0.10',
+# 'rsa>=3.1.2,<=3.5.0', +# 'rsa>=3.1.2,<=3.5.0',