f458c0f9 |
BuildRequires: python2
BuildRequires: python2-libs
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-xml
Requires: python2
Requires: python2-libs
Requires: python-botocore
Requires: python-jmespath
Requires: python-dateutil
BuildArch: noarch
%description
Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python,
which allows Python developers to write software that makes use of services like
Amazon S3 and Amazon EC2
%package -n python3-boto3
Summary: python3-boto3
BuildRequires: python3-devel
BuildRequires: python3-libs
BuildRequires: python3-setuptools
BuildRequires: python3-xml
Requires: python3
Requires: python3-libs
Requires: python3-botocore
Requires: python3-jmespath
Requires: python3-dateutil
%description -n python3-boto3
Python 3 version.
%prep
%setup -q -n boto3-%{version}
rm -rf ../p3dir
cp -a . ../p3dir
%build
python2 setup.py build
pushd ../p3dir
python3 setup.py build
popd
%install
pushd ../p3dir
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
popd
python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python2 setup.py test
pushd ../p3dir
python3 setup.py test
popd
%files
%defattr(-,root,root)
%{python2_sitelib}/*
%files -n python3-boto3
%defattr(-,root,root)
%{python3_sitelib}/*
%changelog |