Hello community, here is the log from the commit of package python-flower for openSUSE:Leap:15.2 checked in at 2020-04-25 19:06:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-flower (Old) and /work/SRC/openSUSE:Leap:15.2/.python-flower.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flower" Sat Apr 25 19:06:48 2020 rev:2 rq:797211 version:0.9.3 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-flower/python-flower.changes 2020-02-16 18:29:29.714754903 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-flower.new.2738/python-flower.changes 2020-04-25 19:06:49.331819858 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 12:03:43 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flower.spec ++++++ --- /var/tmp/diff_new_pack.4iMOvQ/_old 2020-04-25 19:06:50.747822902 +0200 +++ /var/tmp/diff_new_pack.4iMOvQ/_new 2020-04-25 19:06:50.747822902 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-flower # -# 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 @@ -16,6 +16,7 @@ # +%bcond_without python2 Name: python-flower Version: 0.9.3 Release: 0 @@ -36,7 +37,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tornado >= 4.2.0} BuildRequires: fdupes -BuildRequires: python-futures Requires: python-Babel >= 1.0 Requires: python-celery >= 3.1.0 Requires: python-certifi @@ -45,6 +45,9 @@ Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch +%if %{with python2} +BuildRequires: python-futures +%endif %ifpython2 Requires: python-futures %endif