Hello community,
here is the log from the commit of package python-google-cloud-kms for
openSUSE:Factory checked in at 2020-04-21 13:10:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-kms (Old)
and /work/SRC/openSUSE:Factory/.python-google-cloud-kms.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-kms"
Tue Apr 21 13:10:45 2020 rev:5 rq:795812 version:1.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-cloud-kms/python-google-cloud-kms.changes
2020-04-10 23:53:45.596721107 +0200
+++
/work/SRC/openSUSE:Factory/.python-google-cloud-kms.new.2738/python-google-cloud-kms.changes
2020-04-21 13:10:46.576825328 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 11:49:12 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-cloud-kms.spec ++++++
--- /var/tmp/diff_new_pack.SLm0gg/_old 2020-04-21 13:10:47.244826660 +0200
+++ /var/tmp/diff_new_pack.SLm0gg/_new 2020-04-21 13:10:47.244826660 +0200
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-google-cloud-kms
Version: 1.3.0
Release: 0
@@ -25,22 +26,22 @@
Group: Development/Languages/Python
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.14.0}
+BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.3}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
-BuildRequires: python-enum34
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.14.0
Requires: python-grpc-google-iam-v1 >= 0.12.3
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python-enum34
+%endif
%ifpython2
Requires: python-enum34
%endif
-# SECTION test requirements
-BuildRequires: %{python_module google-api-core >= 1.14.0}
-BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.3}
-# /SECTION
%python_subpackages
%description