Accepting request 540355 from Cloud:Tools

- Update to version 1.11.185 (boo#1066528)
  + For detailed changes see
    https://github.com/aws/aws-cli/blob/1.11.185/CHANGELOG.rst
  + Forward port hide_py_pckgmgmt.patch

- Update to version 1.11.151
  + For detailed changes see
    https://github.com/aws/aws-cli/blob/1.11.151/CHANGELOG.rst
  + Forward port hide_py_pckgmgmt.patch
- Remove build capability for SLE 11
- Set up for Python 3 build distro > SLE 12 openSUSE Leap 42.x

OBS-URL: https://build.opensuse.org/request/show/540355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aws-cli?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2017-11-11 13:20:26 +00:00 committed by Git OBS Bridge
commit ef93fa135b
5 changed files with 58 additions and 18 deletions

View File

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

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

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Nov 9 22:35:07 UTC 2017 - rjschwei@suse.com
- Update to version 1.11.185 (boo#1066528)
+ For detailed changes see
https://github.com/aws/aws-cli/blob/1.11.185/CHANGELOG.rst
+ Forward port hide_py_pckgmgmt.patch
-------------------------------------------------------------------
Tue Sep 12 22:02:55 UTC 2017 - rjschwei@suse.com
- Update to version 1.11.151
+ For detailed changes see
https://github.com/aws/aws-cli/blob/1.11.151/CHANGELOG.rst
+ Forward port hide_py_pckgmgmt.patch
- Remove build capability for SLE 11
- Set up for Python 3 build distro > SLE 12 openSUSE Leap 42.x
-------------------------------------------------------------------
Wed Jun 14 21:22:11 UTC 2017 - rjschwei@suse.com

View File

@ -17,7 +17,7 @@
Name: aws-cli
Version: 1.11.104
Version: 1.11.185
Release: 0
Summary: Amazon Web Services Command Line Interface
License: Apache-2.0
@ -25,29 +25,36 @@ Group: System/Management
Url: https://github.com/aws/aws-cli
Source0: %{name}-%{version}.tar.gz
Patch0: hide_py_pckgmgmt.patch
%if 0%{?suse_version} && 0%{?suse_version} > 1315
Requires: python3
Requires: python3-PyYAML <= 3.12
Requires: python3-PyYAML >= 3.10
Requires: python3-botocore >= 1.7.9
Requires: python3-colorama <= 0.3.9
Requires: python3-colorama >= 0.2.5
Requires: python3-docutils >= 0.10
Requires: python3-rsa <= 3.5.0
Requires: python3-rsa >= 3.1.2
Requires: python3-s3transfer <= 0.2.0
Requires: python3-s3transfer >= 0.1.9
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%else
Requires: python
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
Requires: python-argparse >= 1.1
%endif
Requires: python-PyYAML <= 3.12
Requires: python-PyYAML >= 3.10
Requires: python-botocore >= 1.5.67
Requires: python-colorama <= 0.3.8
Requires: python-botocore >= 1.7.9
Requires: python-colorama <= 0.3.9
Requires: python-colorama >= 0.2.5
Requires: python-docutils >= 0.10
Requires: python-rsa <= 3.5.0
Requires: python-rsa >= 3.1.2
Requires: python-s3transfer <= 0.2.0
Requires: python-s3transfer >= 0.1.9
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
BuildArch: noarch
%description
The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.
@ -57,20 +64,35 @@ The AWS Command Line Interface (CLI) is a unified tool to manage your AWS servic
%patch0
%build
%if 0%{?suse_version} && 0%{?suse_version} > 1315
python3 setup.py build
%else
python setup.py build
%endif
%install
%if 0%{?suse_version} && 0%{?suse_version} > 1315
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
%else
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
%endif
# No DOS crap
rm %{buildroot}/%{_bindir}/aws.cmd
%files
%defattr(-,root,root,-)
%doc CHANGELOG.rst LICENSE.txt README.rst
%if 0%{?suse_version} && 0%{?suse_version} > 1315
%dir %{python3_sitelib}/awscli
%dir %{python3_sitelib}/awscli-%{version}-py%{py3_ver}.egg-info
%{python3_sitelib}/awscli/*
%{python3_sitelib}/*egg-info/*
%else
%dir %{python_sitelib}/awscli
%dir %{python_sitelib}/awscli-%{version}-py%{py_ver}.egg-info
%{_bindir}/*
%{python_sitelib}/awscli/*
%{python_sitelib}/*egg-info/*
%endif
%{_bindir}/*
%changelog

View File

@ -4,13 +4,13 @@
raise RuntimeError("Unable to find version string.")
-requires = ['botocore==1.5.67',
-requires = ['botocore==1.7.43',
- 'colorama>=0.2.5,<=0.3.7',
- 'docutils>=0.10',
- 'rsa>=3.1.2,<=3.5.0',
- 's3transfer>=0.1.9,<0.2.0',
- 'PyYAML>=3.10,<=3.12']
+#requires = ['botocore==1.5.67',
+#requires = ['botocore==1.7.43',
+# 'colorama>=0.2.5,<=0.3.7',
+# 'docutils>=0.10',
+# 'rsa>=3.1.2,<=3.5.0',