Hello community,
here is the log from the commit of package python-cloudpickle for
openSUSE:Leap:15.2 checked in at 2020-03-27 16:48:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-cloudpickle (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-cloudpickle.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cloudpickle"
Fri Mar 27 16:48:38 2020 rev:12 rq:789053 version:1.2.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-cloudpickle/python-cloudpickle.changes
2020-03-09 18:03:50.144771949 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-cloudpickle.new.3160/python-cloudpickle.changes
2020-03-27 16:48:40.415952693 +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.JZJTZy/_old 2020-03-27 16:48:40.671952843 +0100
+++ /var/tmp/diff_new_pack.JZJTZy/_new 2020-03-27 16:48:40.675952845 +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