|
|
@ -1,20 +1,14 @@
|
|
|
|
%{?python_enable_dependency_generator}
|
|
|
|
|
|
|
|
# Enable tests
|
|
|
|
|
|
|
|
%bcond_with test
|
|
|
|
|
|
|
|
# Disable documentation generation for now
|
|
|
|
|
|
|
|
%bcond_with docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global pypi_name botocore
|
|
|
|
%global pypi_name botocore
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
# NOTICE - Updating this package requires updating python-boto3
|
|
|
|
# NOTICE - Updating this package requires updating python-boto3
|
|
|
|
Version: 1.14.4
|
|
|
|
Version: 1.14.9
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Low-level, data-driven core of boto 3
|
|
|
|
Summary: Low-level, data-driven core of boto 3
|
|
|
|
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/boto/botocore
|
|
|
|
URL: https://github.com/boto/botocore
|
|
|
|
Source0: https://pypi.io/packages/source/b/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
|
Source0: %{pypi_source}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -25,68 +19,34 @@ botocore package is the foundation for the AWS CLI as well as boto3.
|
|
|
|
Summary: Low-level, data-driven core of boto 3
|
|
|
|
Summary: Low-level, data-driven core of boto 3
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
%if %{with docs}
|
|
|
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
|
|
|
BuildRequires: python3-guzzle_sphinx_theme
|
|
|
|
|
|
|
|
%endif # with docs
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
|
|
|
|
BuildRequires: python3-nose
|
|
|
|
|
|
|
|
BuildRequires: python3-six
|
|
|
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
|
|
|
|
BuildRequires: python3-dateutil
|
|
|
|
|
|
|
|
BuildRequires: python3-jmespath
|
|
|
|
|
|
|
|
BuildRequires: python3-jsonschema
|
|
|
|
|
|
|
|
BuildRequires: python3-urllib3
|
|
|
|
|
|
|
|
%endif # with tests
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{pypi_name}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
|
|
A low-level interface to a growing number of Amazon Web Services. The
|
|
|
|
A low-level interface to a growing number of Amazon Web Services. The
|
|
|
|
botocore package is the foundation for the AWS CLI as well as boto3.
|
|
|
|
botocore package is the foundation for the AWS CLI as well as boto3.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%endif # with docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pypi_name}-%{version}
|
|
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
rm -vr %{pypi_name}.egg-info
|
|
|
|
# Remove online tests
|
|
|
|
# Remove online tests
|
|
|
|
rm -rf tests/integration
|
|
|
|
rm -vr tests/integration
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
%py3_install
|
|
|
|
%if %{with docs}
|
|
|
|
|
|
|
|
sphinx-build-3 docs/source html
|
|
|
|
|
|
|
|
rm -rf html/.{doctrees,buildinfo}
|
|
|
|
|
|
|
|
%endif # with docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
# %{__python3} setup.py test
|
|
|
|
|
|
|
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
|
|
|
|
|
|
|
nosetests-3 --with-coverage --cover-erase --cover-package botocore --with-xunit --cover-xml -v tests/unit/ tests/functional/
|
|
|
|
|
|
|
|
%endif # with tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE.txt
|
|
|
|
%license LICENSE.txt
|
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
|
|
|
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
|
|
|
%if %{with docs}
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
|
|
|
%doc html
|
|
|
|
|
|
|
|
%endif # with docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.14.9-1
|
|
|
|
|
|
|
|
- Update to 1.14.9
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 16 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.14.4-1
|
|
|
|
* Thu Jan 16 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.14.4-1
|
|
|
|
- Update to 1.14.4
|
|
|
|
- Update to 1.14.4
|
|
|
|
|
|
|
|
|
|
|
|