diff --git a/.gitignore b/.gitignore index 0421965..c633830 100644 --- a/.gitignore +++ b/.gitignore @@ -572,3 +572,4 @@ /botocore-1.25.7.tar.gz /botocore-1.25.8.tar.gz /botocore-1.25.10.tar.gz +/botocore-1.31.62.tar.gz diff --git a/python-botocore.spec b/python-botocore.spec index cfc325c..9961ca4 100644 --- a/python-botocore.spec +++ b/python-botocore.spec @@ -1,48 +1,42 @@ %global pypi_name botocore +%bcond_without tests Name: python-%{pypi_name} # NOTICE - Updating this package requires updating python-boto3 -Version: 1.25.10 -Release: 1%{?dist} +Version: 1.31.62 +Release: 2%{?dist} Summary: Low-level, data-driven core of boto 3 -License: ASL 2.0 +License: Apache-2.0 URL: https://github.com/boto/botocore Source0: %{pypi_source} -# Replace removed inspect.formatargspec with inspect.signature -# This is needed for compatibility with Python 3.11 and -# can be removed once upstream PR is merged. -Patch2507: https://github.com/boto/botocore/pull/2507.patch -BuildArch: noarch -BuildRequires: pyproject-rpm-macros -BuildRequires: python3-devel -BuildRequires: python3-jsonschema -BuildRequires: python3-setuptools -BuildRequires: python3-pytest -BuildRequires: python3-wheel -BuildRequires: python3-jmespath -BuildRequires: python3-toml -BuildRequires: python3-dateutil -BuildRequires: python3-urllib3 +BuildArch: noarch -%description +%global _description %{expand: 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.} + +%description %{_description} %package -n python3-%{pypi_name} Summary: Low-level, data-driven core of boto 3 -Provides: bundled(python3-six) = 1.10.0 -%{?python_provide:%python_provide python3-%{pypi_name}} - +BuildRequires: python3-devel +%if %{with tests} +# For tests: +BuildRequires: python3-jsonschema +BuildRequires: python3-pytest +%if %{undefined rhel} +BuildRequires: python3-pytest-xdist +%endif +%endif +Provides: bundled(python3-six) = 1.16.0 +Provides: bundled(python3-requests) = 2.7.0 -%description -n python3-%{pypi_name} -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. +%description -n python3-%{pypi_name} %{_description} %prep %autosetup -n %{pypi_name}-%{version} -p1 -rm -vr %{pypi_name}.egg-info # Remove online tests rm -vr tests/integration # This test tried to import tests/cmd-runner which failed as the code was @@ -51,25 +45,33 @@ rm -vr tests/integration rm -vr tests/functional/leak %generate_buildrequires -# -r use final runtime dependencies as BuildRequires -%pyproject_buildrequires -r +%pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install +%pyproject_save_files %{pypi_name} %check -%pytest +%if %{with tests} +%pytest %{!?rhel:-n auto} +%else +%pyproject_check_import -e botocore.crt.auth -e botocore.vendored* +%endif -%files -n python3-%{pypi_name} +%files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %license LICENSE.txt -%{python3_sitelib}/%{pypi_name}/ -%{python3_sitelib}/%{pypi_name}-*.dist-info/ %changelog +* Wed May 15 2024 Major Hayden - 1.31.62-2 +- Bumped revision number for re-release back into EPEL 9. + +* Wed May 01 2024 Major Hayden - 1.31.62-1 +- 1.31.62 + * Mon May 09 2022 Gwyn Ciesla - 1.25.10-1 - 1.25.10 diff --git a/sources b/sources index c54a613..5ed5df3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (botocore-1.25.10.tar.gz) = 6daaec14be1cafdf43bdb4b182a31649d88ee3a9b7e2a88409e3a9fc5279479f78800a0b49ec405936e6695ac4c1b672a62b31b2486049193734ade98f275a10 +SHA512 (botocore-1.31.62.tar.gz) = 1737ee480e4b7761562b6590aa3332aa033aed3b55513cc7fd09e1e17db41201294d2bf1c8ed99dadce7c78bf75ef2d9ae7c8aa1f3f42114d65c7a96b9dcbb78