1.9.19 - Cleaner spec (2 merge requests have been merged)

This commit is contained in:
Fabio Alessandro Locati 2016-01-15 12:13:43 +01:00
parent 3b67514f7c
commit 9e2a3ea04e
3 changed files with 10 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/awscli-1.9.16.tar.gz
/awscli-1.9.17.tar.gz
/awscli-1.9.18.tar.gz
/awscli-1.9.19.tar.gz

View File

@ -8,7 +8,7 @@
%endif
Name: awscli
Version: 1.9.18
Version: 1.9.19
Release: 1%{?dist}
Summary: Universal Command Line Environment for AWS
@ -19,14 +19,14 @@ BuildArch: noarch
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-botocore = 1.3.18
Requires: python3-botocore = 1.3.19
Requires: python3-colorama
Requires: python3-docutils
Requires: python3-rsa
%else
BuildRequires: python2-devel
BuildRequires: python-setuptools
Requires: python2-botocore = 1.3.18
Requires: python2-botocore = 1.3.19
Requires: python-colorama
Requires: python-docutils
Requires: python-rsa
@ -51,10 +51,6 @@ command line interface to Amazon Web Services.
rm -rf %{name}.egg-info
# Proposed upstream fix at https://github.com/aws/aws-cli/pull/1710
chmod 664 awscli/examples/*/*.rst
# Substitue the text of bin/aws_bash_completer as of https://github.com/aws/aws-cli/pull/1711
echo 'complete -C aws_completer aws' > bin/aws_bash_completer
# Non-executable file should not contain shabang as for https://github.com/aws/aws-cli/pull/1712
sed -i -e '1 d' awscli/paramfile.py
%build
%if 0%{?with_python3}
@ -63,7 +59,6 @@ sed -i -e '1 d' awscli/paramfile.py
CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} build --executable="%{__python2} -s"
%endif # with_python3
%install
%if 0%{?with_python3}
%py3_install
@ -103,6 +98,11 @@ rm %{buildroot}%{_bindir}/aws.cmd
%endif # with_python3
%changelog
* Fri Jan 15 2016 Fabio Alessandro Locati <fabio@locati.cc> - 1.9.19-1
- Update to current upstream version
- Don't substitue the text of bin/aws_bash_completer anymore (pull request merged)
- Don't remove the shabang from awscli/paramfile.py anymore (pull request merged)
* Wed Jan 13 2016 Fabio Alessandro Locati <fabio@locati.cc> - 1.9.18-1
- Update to current upstream version
- Fix completion for bash

View File

@ -1 +1 @@
b9de31540dedd2fd034a6886545336c6 awscli-1.9.18.tar.gz
be0a161ca6d059ac8080d3097440f31c awscli-1.9.19.tar.gz