Accepting request 917896 from home:mvyskocil:branches:Cloud:Tools

- Update to version 1.20.32 
  + For detailed changes see
    https://github.com/aws/aws-cli/blob/1.20.32/CHANGELOG.rst
- Fix rpmlint warnings
  + use defattr for default permissions
  + mark zsh completion file as a config file
- Use github download url as a Source0
- Update Requires in spec file from setup.py

OBS-URL: https://build.opensuse.org/request/show/917896
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=118
This commit is contained in:
Robert Schweikert 2021-09-10 11:16:18 +00:00 committed by Git OBS Bridge
parent 42ed80afa5
commit d7d8ecddd9
4 changed files with 22 additions and 7 deletions

3
1.20.32.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Sep 10 07:32:58 UTC 2021 - Michal Vyskocil <mvyskocil@opensuse.org>
- Update to version 1.20.32
+ For detailed changes see
https://github.com/aws/aws-cli/blob/1.20.32/CHANGELOG.rst
- Fix rpmlint warnings
+ use defattr for default permissions
+ mark zsh completion file as a config file
- Use github download url as a Source0
- Update Requires in spec file from setup.py
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 28 04:18:32 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Wed Jul 28 04:18:32 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -17,13 +17,13 @@
Name: aws-cli Name: aws-cli
Version: 1.20.7 Version: 1.20.32
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
Group: System/Management Group: System/Management
URL: https://github.com/aws/aws-cli URL: https://github.com/aws/aws-cli
Source0: %{name}-%{version}.tar.gz Source0: https://github.com/aws/%{name}/archive/refs/tags/%{version}.tar.gz
BuildRequires: fdupes BuildRequires: fdupes
Requires: groff Requires: groff
Provides: awscli = %{version} Provides: awscli = %{version}
@ -34,9 +34,10 @@ BuildRequires: python3-setuptools
Requires: python3 Requires: python3
Requires: python3-PyYAML <= 6.0.0 Requires: python3-PyYAML <= 6.0.0
Requires: python3-PyYAML >= 3.10 Requires: python3-PyYAML >= 3.10
Requires: python3-botocore >= 1.21.7 Requires: python3-botocore >= 1.21.32
Requires: python3-colorama <= 0.4.4 Requires: python3-colorama <= 0.4.4
Requires: python3-colorama >= 0.2.5 Requires: python3-colorama >= 0.2.5
Requires: python3-docutils < 0.16
Requires: python3-docutils >= 0.10 Requires: python3-docutils >= 0.10
Requires: python3-rsa < 5.0.0 Requires: python3-rsa < 5.0.0
Requires: python3-rsa >= 3.1.2 Requires: python3-rsa >= 3.1.2
@ -95,6 +96,7 @@ install -DTm644 %{buildroot}%{_bindir}/aws_bash_completer %{buildroot}%{_datadir
install -DTm644 %{buildroot}%{_bindir}/aws_zsh_completer.sh %{buildroot}%{_sysconfdir}/zsh_completion.d/_aws install -DTm644 %{buildroot}%{_bindir}/aws_zsh_completer.sh %{buildroot}%{_sysconfdir}/zsh_completion.d/_aws
%files %files
%defattr(-, root, root)
%doc CHANGELOG.rst README.rst %doc CHANGELOG.rst README.rst
%license LICENSE.txt %license LICENSE.txt
%if 0%{?suse_version} && 0%{?suse_version} > 1315 %if 0%{?suse_version} && 0%{?suse_version} > 1315
@ -113,6 +115,7 @@ install -DTm644 %{buildroot}%{_bindir}/aws_zsh_completer.sh %{buildroot}%{_sysco
%exclude %{_bindir}/aws_bash_completer %exclude %{_bindir}/aws_bash_completer
%exclude %{_bindir}/aws_zsh_completer.sh %exclude %{_bindir}/aws_zsh_completer.sh
%{_datadir}/bash-completion/completions/aws %{_datadir}/bash-completion/completions/aws
%{_sysconfdir}/zsh_completion.d %dir %{_sysconfdir}/zsh_completion.d
%config %attr(644,root,root) %{_sysconfdir}/zsh_completion.d/_aws
%changelog %changelog