diff --git a/google-cloud-kms-2.19.2.tar.gz b/google-cloud-kms-2.19.2.tar.gz new file mode 100644 index 0000000..cbbbfd4 --- /dev/null +++ b/google-cloud-kms-2.19.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17a5034592e85ef0031d25bbe5894bdb2d719460855980bfeb68aa4e8ffc12bd +size 168736 diff --git a/google-cloud-kms-2.20.0.tar.gz b/google-cloud-kms-2.20.0.tar.gz deleted file mode 100644 index 58f8eb1..0000000 --- a/google-cloud-kms-2.20.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86f5082ad28d63decf87a70795e90770d1f871e04b9174f148d053fa3cccbbed -size 171249 diff --git a/python-google-cloud-kms.changes b/python-google-cloud-kms.changes index 1d87fbe..6e7dbe0 100644 --- a/python-google-cloud-kms.changes +++ b/python-google-cloud-kms.changes @@ -1,10 +1,3 @@ -------------------------------------------------------------------- -Sat Dec 16 19:54:19 UTC 2023 - Dirk Müller - -- 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 diff --git a/python-google-cloud-kms.spec b/python-google-cloud-kms.spec index 0cb3c2a..ebaffca 100644 --- a/python-google-cloud-kms.spec +++ b/python-google-cloud-kms.spec @@ -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