Sync from SUSE:SLFO:1.1 python-botocore revision 903c35ec25d26cfff24b1d5c66b878f5

This commit is contained in:
2025-04-16 00:38:46 +02:00
parent 9913ec0b59
commit 2a977097b1
4 changed files with 12 additions and 2172 deletions

BIN
botocore-1.33.11.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
botocore-1.35.47.tar.gz (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-botocore # spec file
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -25,33 +25,28 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%{?!python_module:%define python_module() python3-%{**}}
%{?sle15_python_module_pythons} %define skip_python2 1
Name: python-botocore%{?psuffix} Name: python-botocore%{?psuffix}
Version: 1.35.47 Version: 1.33.11
Release: 0 Release: 0
Summary: Python interface for AWS Summary: Python interface for AWS
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/boto/botocore URL: https://github.com/boto/botocore
Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-requests Requires: python-requests
Requires: (python-jmespath >= 0.7.1 with python-jmespath < 2.0.0) Requires: (python-jmespath >= 0.7.1 with python-jmespath < 2.0.0)
Requires: (python-python-dateutil >= 2.1 with python-python-dateutil < 3.0.0) Requires: (python-python-dateutil >= 2.1 with python-python-dateutil < 3.0.0)
BuildArch: noarch BuildArch: noarch
%if 0%{?sle_version} >= 150400
Obsoletes: python3-botocore < %{version}
%endif
%if %{with test} %if %{with test}
BuildRequires: %{python_module botocore = %{version}} BuildRequires: %{python_module botocore = %{version}}
BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module pytest >= 6.2.5} BuildRequires: %{python_module pytest >= 6.2.5}
BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module urllib3 < 2.1} BuildRequires: %{python_module urllib3 < 2}
BuildRequires: procps BuildRequires: procps
%endif %endif
%python_subpackages %python_subpackages
@@ -67,10 +62,10 @@ rm botocore/cacert.pem
%if !%{with test} %if !%{with test}
%build %build
%pyproject_wheel %python_build
%install %install
%pyproject_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif
@@ -86,7 +81,7 @@ rm botocore/cacert.pem
%doc README.rst %doc README.rst
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/botocore/ %{python_sitelib}/botocore/
%{python_sitelib}/botocore-%{version}.dist-info %{python_sitelib}/botocore-%{version}-py*.egg-info
%endif %endif
%changelog %changelog