2022-07-04 09:39:54 +00:00
|
|
|
%global _empty_manifest_terminate_build 0
|
2022-10-14 14:43:48 +08:00
|
|
|
Name: python-botocore
|
2023-12-04 15:13:07 +08:00
|
|
|
Version: 1.34.16
|
2022-10-14 14:43:48 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: Low-level, data-driven core of boto 3.
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
URL: https://github.com/boto/botocore
|
2023-12-04 15:13:07 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
|
2022-10-14 14:43:48 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Requires: python3-jmespath
|
|
|
|
|
Requires: python3-dateutil
|
|
|
|
|
Requires: python3-urllib3
|
|
|
|
|
|
2020-11-16 11:29:20 +08:00
|
|
|
%description
|
|
|
|
|
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.
|
|
|
|
|
|
2022-07-04 09:39:54 +00:00
|
|
|
%package -n python3-botocore
|
2022-10-14 14:43:48 +08:00
|
|
|
Summary: Low-level, data-driven core of boto 3.
|
2022-12-15 15:38:53 +08:00
|
|
|
Provides: python-botocore = %{version}-%{release}
|
2021-07-26 17:44:16 +00:00
|
|
|
BuildRequires: python3-jmespath
|
2022-07-04 09:39:54 +00:00
|
|
|
BuildRequires: python3-dateutil
|
|
|
|
|
BuildRequires: python3-urllib3
|
2022-10-14 14:43:48 +08:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
2022-04-06 16:44:00 +08:00
|
|
|
BuildRequires: python3-pytest
|
2022-07-04 09:39:54 +00:00
|
|
|
%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
|
2020-11-16 11:29:20 +08:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-07-04 09:39:54 +00:00
|
|
|
%autosetup -n botocore-%{version}
|
2020-11-16 11:29:20 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
2022-07-04 09:39:54 +00:00
|
|
|
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
|
2022-12-15 15:38:53 +08:00
|
|
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
2022-07-04 09:39:54 +00:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/lib64 ]; then
|
2022-12-15 15:38:53 +08:00
|
|
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
2022-07-04 09:39:54 +00:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/bin ]; then
|
2022-12-15 15:38:53 +08:00
|
|
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
2022-07-04 09:39:54 +00:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/sbin ]; then
|
2022-12-15 15:38:53 +08:00
|
|
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
2022-07-04 09:39:54 +00:00
|
|
|
fi
|
|
|
|
|
touch doclist.lst
|
|
|
|
|
if [ -d usr/share/man ]; then
|
2022-12-15 15:38:53 +08:00
|
|
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
2022-07-04 09:39:54 +00:00
|
|
|
fi
|
|
|
|
|
popd
|
|
|
|
|
mv %{buildroot}/filelist.lst .
|
|
|
|
|
mv %{buildroot}/doclist.lst .
|
|
|
|
|
|
2021-07-26 17:44:16 +00:00
|
|
|
%check
|
2022-04-06 16:44:00 +08:00
|
|
|
%{__python3} -m pytest tests/unit
|
2021-07-26 17:44:16 +00:00
|
|
|
|
2022-07-04 09:39:54 +00:00
|
|
|
%files -n python3-botocore -f filelist.lst
|
|
|
|
|
%dir %{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%files help -f doclist.lst
|
|
|
|
|
%{_docdir}/*
|
2020-11-16 11:29:20 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2023-12-04 15:13:07 +08:00
|
|
|
* Thu Jan 11 2024 xu_ping <707078654@qq.com> - 1.34.16-1
|
|
|
|
|
- Update package to version 1.34.16
|
|
|
|
|
|
2023-11-17 15:36:57 +08:00
|
|
|
* Fri Nov 17 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.32.2-1
|
|
|
|
|
- Update package to version 1.32.2
|
|
|
|
|
|
2023-08-02 11:26:04 +08:00
|
|
|
* Tue Aug 01 2023 chenzixuan <chenzixuan@kylinos.cn> - 1.31.16-1
|
|
|
|
|
- Update package to version 1.31.16
|
|
|
|
|
|
2023-07-31 14:27:05 +08:00
|
|
|
* Mon Jul 31 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 1.31.15-1
|
|
|
|
|
- Update package to version 1.31.15
|
|
|
|
|
|
2023-06-29 09:32:55 +08:00
|
|
|
* Wed Jun 28 2023 niuyaru <niuyaru@kylinos.cn> - 1.29.162-1
|
|
|
|
|
- Update package to version 1.29.162
|
|
|
|
|
|
2023-06-27 15:38:51 +08:00
|
|
|
* Tue Jun 27 2023 zixuanchen <chenzixuan@kylinos.cn> - 1.29.161-1
|
|
|
|
|
- Update package to version 1.29.161
|
|
|
|
|
|
2023-05-29 14:31:36 +08:00
|
|
|
* Mon May 29 2023 wubijie <wubijie@kylinos.cn> - 1.29.125-1
|
|
|
|
|
- Update package to version 1.29.125
|
|
|
|
|
|
2023-05-16 10:55:56 +08:00
|
|
|
* Tue May 16 2023 wubijie <wubijie@kylinos.cn> - 1.29.120-1
|
|
|
|
|
- Update package to version 1.29.120
|
|
|
|
|
|
2023-05-10 14:11:04 +08:00
|
|
|
* Wed May 10 2023 wubijie <wubijie@kylinos.cn> - 1.29.114-1
|
|
|
|
|
- Update package to version 1.29.114
|
|
|
|
|
|
2023-05-06 11:30:01 +08:00
|
|
|
* Sat May 06 2023 wubijie <wubijie@kylinos.cn> - 1.29.112-1
|
|
|
|
|
- Update package to version 1.29.112
|
|
|
|
|
|
2023-05-04 15:57:18 +08:00
|
|
|
* Thu May 04 2023 wubijie <wubijie@kylinos.cn> - 1.29.111-1
|
|
|
|
|
- Update package to version 1.29.111
|
|
|
|
|
|
2023-04-11 14:51:09 +08:00
|
|
|
* Tue Apr 11 2023 Ge Wang <wang--ge@126.com> - 1.29.110-1
|
|
|
|
|
- Update to version 1.29.110
|
|
|
|
|
|
2023-03-20 15:08:26 +08:00
|
|
|
* Mon Mar 20 2023 wubijie <wubijie@kylinos.cn> - 1.29.94-1
|
|
|
|
|
- Update package to version 1.29.94
|
|
|
|
|
|
2023-02-14 15:21:38 +08:00
|
|
|
* Tue Feb 14 2023 wubijie <wubijie@kylinos.cn> - 1.29.70-1
|
|
|
|
|
- Update package to version 1.29.70
|
|
|
|
|
|
2022-12-15 15:38:53 +08:00
|
|
|
* Thu Dec 15 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.29.30-1
|
|
|
|
|
- Update package to version 1.29.30
|
|
|
|
|
|
2022-11-10 16:16:19 +08:00
|
|
|
* Thu Nov 10 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.29.6-1
|
|
|
|
|
- Upgrade package to version 1.29.6
|
|
|
|
|
|
2022-10-14 14:43:48 +08:00
|
|
|
* Fri Oct 14 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.27.90-1
|
|
|
|
|
- Upgrade package to version 1.27.90
|
|
|
|
|
|
2022-07-04 09:39:54 +00:00
|
|
|
* Mon Jul 04 2022 OpenStack_SIG <openstack@openeuler.org> - 1.24.7-1
|
|
|
|
|
- Upgrade the version to 1.24.7
|
|
|
|
|
|
2022-04-06 16:44:00 +08:00
|
|
|
* Wed Apr 6 2022 caodongxia <caodongxia@h-partners.com> - 1.23.4-1
|
|
|
|
|
- Upgrade python-botocore to 1.23.4
|
|
|
|
|
|
2023-06-27 15:38:51 +08:00
|
|
|
* Thu Mar 31 2022 wulei <wulei80@huawei.com> - 1.20.26.2
|
2022-03-31 10:42:37 +08:00
|
|
|
- Fix rejecting URLs with unsafe characters in is_valid_endpoint_url()
|
|
|
|
|
|
2021-07-26 17:44:16 +00:00
|
|
|
* Mon Jul 26 2021 OpenStack_SIG <openstack@openeuler.org> - 1.20.26-1
|
|
|
|
|
- update to 1.20.26
|
|
|
|
|
|
2020-11-16 11:29:20 +08:00
|
|
|
* Mon Nov 16 2020 yanan li <liyanan32@huawei.com> - 1.19.17-1
|
|
|
|
|
- Package init
|
2023-06-27 15:38:51 +08:00
|
|
|
|