From 3f094207c177249a270d93118a032d3550d76bbd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:47:56 +0100 Subject: [PATCH] require python-s3transfer-py3 [release 1.18.124-2mamba;Sun Aug 23 2020] --- python-awscli.spec | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/python-awscli.spec b/python-awscli.spec index a10e8ab..52f52f9 100644 --- a/python-awscli.spec +++ b/python-awscli.spec @@ -1,25 +1,27 @@ Name: python-awscli -Version: 1.9.12 -Release: 1mamba +Version: 1.18.124 +Release: 2mamba Summary: A unified command line interface to Amazon Web Services Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://aws.amazon.com/cli/ -Source: https://pypi.python.org/packages/source/a/awscli/awscli-%{version}.tar.gz +Source: https://pypi.debian.net/awscli/awscli-%{version}.tar.gz +#Source: https://pypi.python.org/packages/source/a/awscli/awscli-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python-botocore -Requires: python-dateutil -Requires: python-jmespath -Requires: python-colorama -Requires: python-docutils -Requires: python-rsa -Requires: python-pyasn1 -Requires: python >= %python_version +Requires: python-botocore-py3 +Requires: python-dateutil-py3 +Requires: python-jmespath-py3 +Requires: python-colorama-py3 +Requires: python-docutils-py3 +Requires: python-rsa-py3 +Requires: python-pyasn1-py3 +Requires: python-s3transfer-py3 +Requires: python3 >= %python3_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -29,22 +31,28 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %setup -q -n awscli-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ +%{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ - --install-lib=%{python_sitearch} \ + --install-lib=%{python3_sitearch} \ --record=%{name}.filelist -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "s,.*/man/.*,&.gz," %{name}.filelist %files -f %{name}.filelist %defattr(-,root,root) %changelog +* Sun Aug 23 2020 Silvan Calarco 1.18.124-2mamba +- require python-s3transfer-py3 + +* Sun Aug 23 2020 Silvan Calarco 1.18.124-1mamba +- update to 1.18.124 + * Mon Dec 21 2015 Silvan Calarco 1.9.12-1mamba - package created using the webbuild interface