require python-s3transfer-py3 [release 1.18.124-2mamba;Sun Aug 23 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 10:47:56 +01:00
parent e56db30cb7
commit 3f094207c1

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.18.124-2mamba
- require python-s3transfer-py3
* Sun Aug 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.124-1mamba
- update to 1.18.124
* Mon Dec 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.12-1mamba
- package created using the webbuild interface