Hello community,

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

Package is "python-cloudpickle"

Fri Mar 27 00:25:22 2020 rev:10 rq:785566 version:1.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes    
2019-12-23 22:39:22.765870693 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.3160/python-cloudpickle.changes
  2020-03-27 00:25:28.872262390 +0100
@@ -1,0 +2,5 @@
+Mon Mar 16 10:25:19 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cloudpickle.spec ++++++
--- /var/tmp/diff_new_pack.IBBD0w/_old  2020-03-27 00:25:29.808262863 +0100
+++ /var/tmp/diff_new_pack.IBBD0w/_new  2020-03-27 00:25:29.808262863 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cloudpickle
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-cloudpickle
 Version:        1.2.2
 Release:        0
 Summary:        Extended pickling support for Python objects
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/cloudpipe/cloudpickle
 Source:         
https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz
 BuildRequires:  %{python_module curses}
@@ -35,13 +35,18 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tornado}
 BuildRequires:  fdupes
-BuildRequires:  python-futures
 BuildRequires:  python-rpm-macros
 Requires:       python-curses
 Requires:       python-numpy >= 1.8.2
 Requires:       python-scipy
 Requires:       python-tornado
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-futures
+%endif
+%ifpython2
+Requires:       python-futures
+%endif
 %python_subpackages
 
 %description


Reply via email to