upgrade the version to 1.24.7
This commit is contained in:
parent
4fb9529298
commit
01b96fcbbb
Binary file not shown.
@ -1,37 +1,47 @@
|
|||||||
%global pypi_name botocore
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-%{pypi_name}
|
Name: python-botocore
|
||||||
Version: 1.23.4
|
Version: 1.24.7
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Low-level, data-driven core of boto 3
|
Summary: Low-level, data-driven core of boto 3.
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/boto/botocore
|
URL: https://github.com/boto/botocore
|
||||||
Source0: https://files.pythonhosted.org/packages/b1/25/2da6559083f9dc3f9863c1dc0c18ec18098fd06990f71693c3b63777ce57/botocore-1.23.4.tar.gz
|
Source0: https://files.pythonhosted.org/packages/b6/27/82dcaa46588c3071b195f75ec1c3ce5d6ce8aad26701dcc661cbca4961be/botocore-1.24.7.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
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.
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-botocore
|
||||||
Summary: Low-level, data-driven core of boto 3
|
Summary: Low-level, data-driven core of boto 3.
|
||||||
BuildRequires: python3-devel python3-setuptools
|
Provides: python-botocore
|
||||||
buildRequires: python3-tox
|
# Base build requires
|
||||||
buildRequires: python3-mock
|
BuildRequires: python3-devel
|
||||||
buildRequires: python3-jsonschema
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-urllib3
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-dateutil
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
# General requires
|
||||||
BuildRequires: python3-jmespath
|
BuildRequires: python3-jmespath
|
||||||
|
BuildRequires: python3-dateutil
|
||||||
|
BuildRequires: python3-urllib3
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
# General requires
|
||||||
Requires: python3-jmespath
|
Requires: python3-jmespath
|
||||||
%description -n python3-%{pypi_name}
|
Requires: python3-dateutil
|
||||||
|
Requires: python3-urllib3
|
||||||
|
%description -n python3-botocore
|
||||||
|
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.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Low-level, data-driven core of boto 3.
|
||||||
|
Provides: python3-botocore-doc
|
||||||
|
%description help
|
||||||
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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version} -p1
|
%autosetup -n botocore-%{version}
|
||||||
# unable to import "botocore". I'm not 100% sure why this happened but for now
|
|
||||||
# just exclude this one test and run all the other functional tests.
|
|
||||||
rm -vr tests/functional/leak
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -39,16 +49,45 @@ rm -vr tests/functional/leak
|
|||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
pushd %{buildroot}
|
||||||
|
if [ -d usr/lib ]; then
|
||||||
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/lib64 ]; then
|
||||||
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/bin ]; then
|
||||||
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/sbin ]; then
|
||||||
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
touch doclist.lst
|
||||||
|
if [ -d usr/share/man ]; then
|
||||||
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
|
fi
|
||||||
|
popd
|
||||||
|
mv %{buildroot}/filelist.lst .
|
||||||
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} -m pytest tests/unit
|
%{__python3} -m pytest tests/unit
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-botocore -f filelist.lst
|
||||||
%doc README.rst
|
%dir %{python3_sitelib}/*
|
||||||
%license LICENSE.txt
|
|
||||||
%{python3_sitelib}/%{pypi_name}/
|
%files help -f doclist.lst
|
||||||
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 04 2022 OpenStack_SIG <openstack@openeuler.org> - 1.24.7-1
|
||||||
|
- Upgrade the version to 1.24.7
|
||||||
|
|
||||||
* Wed Apr 6 2022 caodongxia <caodongxia@h-partners.com> - 1.23.4-1
|
* Wed Apr 6 2022 caodongxia <caodongxia@h-partners.com> - 1.23.4-1
|
||||||
- Upgrade python-botocore to 1.23.4
|
- Upgrade python-botocore to 1.23.4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user