forked from pool/python-flower
Accepting request 795818 from devel:languages:python
- Fix build without python2 OBS-URL: https://build.opensuse.org/request/show/795818 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flower?expand=0&rev=4
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user