Hello community,
here is the log from the commit of package python-docker-compose for
openSUSE:Factory checked in at 2020-01-10 17:51:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-docker-compose (Old)
and /work/SRC/openSUSE:Factory/.python-docker-compose.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-docker-compose"
Fri Jan 10 17:51:26 2020 rev:7 rq:762865 version:1.25.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-docker-compose/python-docker-compose.changes
2020-01-09 22:54:30.198826653 +0100
+++
/work/SRC/openSUSE:Factory/.python-docker-compose.new.6675/python-docker-compose.changes
2020-01-10 17:51:37.166129400 +0100
@@ -1,0 +2,5 @@
+Fri Jan 10 14:56:46 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Properly conditionalize python2 build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-docker-compose.spec ++++++
--- /var/tmp/diff_new_pack.7K3fPm/_old 2020-01-10 17:51:37.810129724 +0100
+++ /var/tmp/diff_new_pack.7K3fPm/_new 2020-01-10 17:51:37.810129724 +0100
@@ -17,7 +17,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%if 0%{suse_version} > 1500
+%bcond_with python2
%define skip_python2 1
+%else
+%bcond_without python2
+%endif
Name: python-docker-compose
Version: 1.25.1
Release: 0
@@ -57,8 +62,26 @@
Requires: python-urllib3 >= 1.21.1
Requires: python-websocket-client >= 0.32.0
BuildArch: noarch
+# This is py3 only as we have the binary just there
+%ifpython3
Provides: docker-compose = %{version}
Obsoletes: docker-compose < %{version}
+%endif
+%if %{with python2}
+BuildRequires: python2-backports.shutil_get_terminal_size >= 1.0.0
+BuildRequires: python2-backports.ssl_match_hostname >= 3.5
+BuildRequires: python2-enum34 >= 1.0.4
+BuildRequires: python2-ipaddress >= 1.0.16
+BuildRequires: python2-mock >= 1.0.1
+BuildRequires: python2-subprocess32 >= 3.5.4
+%endif
+%ifpython2
+Requires: python-backports.shutil_get_terminal_size >= 1.0.0
+Requires: python-backports.ssl_match_hostname >= 3.5
+Requires: python-enum34 >= 1.0.4
+Requires: python-ipaddress >= 1.0.16
+Requires: python-subprocess32 >= 3.5.4
+%endif
%python_subpackages
%description