Dirk Mueller 2023-12-17 20:02:35 +00:00 committed by Git OBS Bridge
parent 140d1d3ccb
commit d49e51eb9d
4 changed files with 17 additions and 21 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17a5034592e85ef0031d25bbe5894bdb2d719460855980bfeb68aa4e8ffc12bd
size 168736

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86f5082ad28d63decf87a70795e90770d1f871e04b9174f148d053fa3cccbbed
size 171249

View File

@ -1,10 +1,3 @@
-------------------------------------------------------------------
Sat Dec 16 19:54:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.20.0:
* Require proto-plus >= 1.22.3
* Use retry_async instead of retry in async client
-------------------------------------------------------------------
Thu Dec 7 21:55:40 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -16,9 +16,10 @@
#
%{?sle15_python_module_pythons}
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-google-cloud-kms
Version: 2.20.0
Version: 2.19.2
Release: 0
Summary: Cloud Key Management Service (KMS) API API client library
License: Apache-2.0
@ -27,20 +28,24 @@ URL: https://github.com/GoogleCloudPlatform/google-cloud-python
Source: https://files.pythonhosted.org/packages/source/g/google-cloud-kms/google-cloud-kms-%{version}.tar.gz
BuildRequires: %{python_module google-api-core >= 1.34.0}
BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.4}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module proto-plus >= 1.22.3}
BuildRequires: %{python_module proto-plus >= 1.22.0}
BuildRequires: %{python_module protobuf >= 3.19}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.34.0
Requires: python-grpc-google-iam-v1 >= 0.12.4
Requires: python-proto-plus >= 1.22.3
Requires(post): update-alternatives
Requires(preun):update-alternatives
BuildArch: noarch
%if %{with python2}
BuildRequires: python-enum34
%endif
%ifpython2
Requires: python-enum34
%endif
%python_subpackages
%description
@ -50,10 +55,10 @@ Cloud Key Management Service (KMS) API API client library
%setup -q -n google-cloud-kms-%{version}
%build
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -62,8 +67,6 @@ Cloud Key Management Service (KMS) API API client library
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/google/cloud/kms
%{python_sitelib}/google/cloud/kms_v1
%{python_sitelib}/google_cloud_kms-%{version}.dist-info
%{python_sitelib}/*
%changelog