15
0
forked from pool/python-flower

- Fix build without python2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flower?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2020-04-20 12:03:55 +00:00
committed by Git OBS Bridge
parent d978268494
commit 4de9de6c93
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 20 12:03:43 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Fri Nov 15 19:15:59 CET 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -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 pytz}
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: python-tornado >= 4.2.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%if %{with python2}
BuildRequires: python-futures
%endif
%ifpython2
Requires: python-futures
%endif