diff --git a/aws-cli-1.17.9.tar.gz b/aws-cli-1.17.9.tar.gz deleted file mode 100644 index 097f4b7..0000000 --- a/aws-cli-1.17.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d36925052eafa989b071c37d3deb082957381643a2aad0c4a64facd428e1c290 -size 1664017 diff --git a/aws-cli-1.18.27.tar.gz b/aws-cli-1.18.27.tar.gz new file mode 100644 index 0000000..9de6e46 --- /dev/null +++ b/aws-cli-1.18.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6564de265bb437009b06450468e3e1326a3e4b5779d1890c5563a0810520a008 +size 1718632 diff --git a/aws-cli.changes b/aws-cli.changes index 229a2a9..10c3f7c 100644 --- a/aws-cli.changes +++ b/aws-cli.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Mar 24 18:10:27 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 1.18.27 + + For detailed changes see + https://github.com/aws/aws-cli/blob/1.18.27/CHANGELOG.rst + + Forward port hide_py_pckgmgmt.patch + + Update Requires in spec file from setup.py + +------------------------------------------------------------------- +Mon Feb 17 20:08:19 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 1.18.0 + + For detailed changes see + https://github.com/aws/aws-cli/blob/1.18.0/CHANGELOG.rst + + Forward port hide_py_pckgmgmt.patch + + Install aws bash completetion script into system path + + Install aws zsh completion script into /etc/zsh_completion.d + + Update Requires in spec file from setup.py + ------------------------------------------------------------------- Fri Feb 14 13:33:26 UTC 2020 - Dirk Mueller diff --git a/aws-cli.spec b/aws-cli.spec index 333558d..a604aea 100644 --- a/aws-cli.spec +++ b/aws-cli.spec @@ -17,7 +17,7 @@ Name: aws-cli -Version: 1.17.9 +Version: 1.18.27 Release: 0 Summary: Amazon Web Services Command Line Interface License: Apache-2.0 @@ -35,7 +35,7 @@ BuildRequires: python3-setuptools Requires: python3 Requires: python3-PyYAML <= 6.0.0 Requires: python3-PyYAML >= 3.10 -Requires: python3-botocore >= 1.13.33 +Requires: python3-botocore >= 1.15.27 Requires: python3-colorama <= 0.4.2 Requires: python3-colorama >= 0.2.5 Requires: python3-docutils >= 0.10 @@ -91,9 +91,9 @@ find %{buildroot}%{python_sitelib}/awscli/examples -type f -exec chmod 644 {} \; %endif # No DOS crap rm %{buildroot}/%{_bindir}/aws.cmd -# bash completion -install -d -m 755 %{buildroot}%{_sysconfdir}/bash_completion.d -ln -s %{_bindir}/aws_bash_completer %{buildroot}%{_sysconfdir}/bash_completion.d/aws +# Shell completion +install -DTm644 %{buildroot}%{_bindir}/aws_bash_completer %{buildroot}%{_datadir}/bash-completion/completions/aws +install -DTm644 %{buildroot}%{_bindir}/aws_zsh_completer.sh %{buildroot}%{_sysconfdir}/zsh_completion.d/_aws %files %doc CHANGELOG.rst README.rst @@ -109,7 +109,11 @@ ln -s %{_bindir}/aws_bash_completer %{buildroot}%{_sysconfdir}/bash_completion.d %{python_sitelib}/awscli/* %{python_sitelib}/*egg-info/* %endif -%{_bindir}/* -%{_sysconfdir}/bash_completion.d/aws +%{_bindir}/aws +%{_bindir}/aws_completer +%exclude %{_bindir}/aws_bash_completer +%exclude %{_bindir}/aws_zsh_completer.sh +%{_datadir}/bash-completion/completions/aws +%{_sysconfdir}/zsh_completion.d %changelog diff --git a/hide_py_pckgmgmt.patch b/hide_py_pckgmgmt.patch index 604f2d9..49c4115 100644 --- a/hide_py_pckgmgmt.patch +++ b/hide_py_pckgmgmt.patch @@ -1,25 +1,39 @@ ---- setup.py.orig 2020-01-24 20:08:21.000000000 +0100 -+++ setup.py 2020-01-30 13:34:42.183694744 +0100 -@@ -23,12 +23,12 @@ +--- setup.py.orig 2020-03-23 19:15:32.000000000 +0100 ++++ setup.py 2020-03-24 19:10:14.975389538 +0100 +@@ -23,20 +23,20 @@ raise RuntimeError("Unable to find version string.") --install_requires = ['botocore==1.14.9', -- 'docutils>=0.10,<0.16', -- 'rsa>=3.1.2,<=3.5.0', -- 's3transfer>=0.3.0,<0.4.0', -- 'PyYAML>=3.10,<5.3', -- 'colorama>=0.2.5,<0.4.2'] -+# install_requires = ['botocore==1.14.9', -+# 'docutils>=0.10,<0.16', -+# 'rsa>=3.1.2,<=3.5.0', -+# 's3transfer>=0.3.0,<0.4.0', -+# 'PyYAML>=3.10,<5.3', -+# 'colorama>=0.2.5,<0.4.2'] +-install_requires = [ +- 'botocore==1.15.27', +- 'docutils>=0.10,<0.16', +- 'rsa>=3.1.2,<=3.5.0', +- 's3transfer>=0.3.0,<0.4.0', +-] ++# install_requires = [ ++# 'botocore==1.15.27', ++# 'docutils>=0.10,<0.16', ++# 'rsa>=3.1.2,<=3.5.0', ++# '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') +-else: +- install_requires.append('PyYAML>=3.10,<5.4') +- install_requires.append('colorama>=0.2.5,<0.4.4') ++# 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') ++# else: ++# install_requires.append('PyYAML>=3.10,<5.4') ++# install_requires.append('colorama>=0.2.5,<0.4.4') setup_options = dict( -@@ -46,8 +46,8 @@ +@@ -54,8 +54,8 @@ 'examples/*/*.txt', 'examples/*/*/*.txt', 'examples/*/*/*.rst', 'topics/*.rst', 'topics/*.json']},