Hello community, here is the log from the commit of package python-flower for openSUSE:Factory checked in at 2020-04-21 13:11:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flower (Old) and /work/SRC/openSUSE:Factory/.python-flower.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flower" Tue Apr 21 13:11:00 2020 rev:4 rq:795818 version:0.9.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flower/python-flower.changes 2019-11-15 22:40:34.128470201 +0100 +++ /work/SRC/openSUSE:Factory/.python-flower.new.2738/python-flower.changes 2020-04-21 13:11:03.140858364 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 12:03:43 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flower.spec ++++++ --- /var/tmp/diff_new_pack.zWovdR/_old 2020-04-21 13:11:03.772859624 +0200 +++ /var/tmp/diff_new_pack.zWovdR/_new 2020-04-21 13:11:03.776859632 +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
