Hello community,

here is the log from the commit of package python-kubernetes for 
openSUSE:Factory checked in at 2020-03-27 00:25:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kubernetes (Old)
 and      /work/SRC/openSUSE:Factory/.python-kubernetes.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-kubernetes"

Fri Mar 27 00:25:50 2020 rev:12 rq:785578 version:10.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kubernetes/python-kubernetes.changes      
2020-01-04 19:20:32.261115875 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-kubernetes.new.3160/python-kubernetes.changes
    2020-03-27 00:25:51.816274011 +0100
@@ -1,0 +2,5 @@
+Mon Mar 16 10:37:51 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-kubernetes.spec ++++++
--- /var/tmp/diff_new_pack.qkzVDZ/_old  2020-03-27 00:25:52.956274590 +0100
+++ /var/tmp/diff_new_pack.qkzVDZ/_new  2020-03-27 00:25:52.960274591 +0100
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-kubernetes
 Version:        10.0.1
 Release:        0
 Summary:        Kubernetes python client
 License:        Apache-2.0
-Group:          Development/Languages/Python
 URL:            https://github.com/kubernetes-incubator/client-python
 Source:         
https://files.pythonhosted.org/packages/source/k/kubernetes/kubernetes-%{version}.tar.gz
 BuildRequires:  %{python_module PyYAML >= 3.12}
@@ -40,7 +40,6 @@
 BuildRequires:  %{python_module urllib3 >= 1.23}
 BuildRequires:  %{python_module websocket-client >= 0.32.0}
 BuildRequires:  fdupes
-BuildRequires:  python-ipaddress >= 1.0.17
 BuildRequires:  python-rpm-macros
 Requires:       python-PyYAML >= 3.12
 Requires:       python-certifi >= 14.05.14
@@ -53,6 +52,9 @@
 Requires:       python-urllib3 >= 1.24.2
 Requires:       python-websocket-client >= 0.32.0
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-ipaddress >= 1.0.17
+%endif
 %ifpython2
 Requires:       python-ipaddress >= 1.0.17
 %endif


Reply via email to