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

- Update to version 1.18.156
  + For detailed changes see
    https://github.com/aws/aws-cli/blob/1.18.156/CHANGELOG.rst
- Drop patches no longer required
  + hide_py_pckgmgmt.patch
- Update Requires in spec file from setup.py

OBS-URL: https://build.opensuse.org/request/show/840412
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=101
This commit is contained in:
Robert Schweikert 2020-10-09 21:56:09 +00:00 committed by Git OBS Bridge
parent e5646ab169
commit f9f665f2ca
5 changed files with 16 additions and 56 deletions

View File

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

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

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Oct 9 10:40:09 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.18.156
+ For detailed changes see
https://github.com/aws/aws-cli/blob/1.18.156/CHANGELOG.rst
- Drop patches no longer required
+ hide_py_pckgmgmt.patch
- Update Requires in spec file from setup.py
-------------------------------------------------------------------
Mon Sep 7 18:23:37 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -17,14 +17,13 @@
Name: aws-cli
Version: 1.18.133
Version: 1.18.156
Release: 0
Summary: Amazon Web Services Command Line Interface
License: Apache-2.0
Group: System/Management
URL: https://github.com/aws/aws-cli
Source0: %{name}-%{version}.tar.gz
Patch0: hide_py_pckgmgmt.patch
BuildRequires: fdupes
Requires: groff
Provides: awscli = %{version}
@ -35,7 +34,7 @@ BuildRequires: python3-setuptools
Requires: python3
Requires: python3-PyYAML <= 6.0.0
Requires: python3-PyYAML >= 3.10
Requires: python3-botocore >= 1.17.56
Requires: python3-botocore >= 1.18.15
Requires: python3-colorama <= 0.4.4
Requires: python3-colorama >= 0.2.5
Requires: python3-docutils >= 0.10
@ -51,7 +50,7 @@ BuildRequires: python-setuptools
Requires: python
Requires: python-PyYAML <= 5.4
Requires: python-PyYAML >= 3.10
Requires: python-botocore >= 1.17.56
Requires: python-botocore >= 1.18.15
Requires: python-colorama <= 0.3.9
Requires: python-colorama >= 0.2.5
Requires: python-docutils >= 0.10
@ -69,7 +68,6 @@ from the command line and automated through scripts.
%prep
%setup -q
%patch0
sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py
sed -i 's/botocore\.vendored\.//' awscli/customizations/configure/__init__.py

View File

@ -1,48 +0,0 @@
--- setup.py.orig 2020-09-04 20:13:48.000000000 +0200
+++ setup.py 2020-09-07 20:23:23.734670079 +0200
@@ -23,21 +23,21 @@
raise RuntimeError("Unable to find version string.")
-install_requires = [
- 'botocore==1.17.56',
- 'docutils>=0.10,<0.16',
- 's3transfer>=0.3.0,<0.4.0',
-]
+# install_requires = [
+# 'botocore==1.17.56',
+# 'docutils>=0.10,<0.16',
+# 's3transfer>=0.3.0,<0.4.0',
+# ]
-if sys.version_info[:2] == (3, 4):
- install_requires.append('PyYAML>=3.10,<5.3')
- install_requires.append('colorama>=0.2.5,<0.4.2')
- install_requires.append('rsa>=3.1.2,<=4.0.0')
-else:
- install_requires.append('PyYAML>=3.10,<5.4')
- install_requires.append('colorama>=0.2.5,<0.4.4')
- install_requires.append('rsa>=3.1.2,<=4.5.0')
+# if sys.version_info[:2] == (3, 4):
+# install_requires.append('PyYAML>=3.10,<5.3')
+# install_requires.append('colorama>=0.2.5,<0.4.2')
+# install_requires.append('rsa>=3.1.2,<=4.0.0')
+# else:
+# install_requires.append('PyYAML>=3.10,<5.4')
+# install_requires.append('colorama>=0.2.5,<0.4.4')
+# install_requires.append('rsa>=3.1.2,<=4.5.0')
setup_options = dict(
@@ -55,8 +55,8 @@
'examples/*/*.txt', 'examples/*/*/*.txt',
'examples/*/*/*.rst', 'topics/*.rst',
'topics/*.json']},
- install_requires=install_requires,
- extras_require={},
+ # install_requires=install_requires,
+ # extras_require={},
license="Apache License 2.0",
classifiers=[
'Development Status :: 5 - Production/Stable',