Accepting request 795865 from devel:languages:python:flask

OBS-URL: https://build.opensuse.org/request/show/795865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Admin?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2020-04-21 11:12:29 +00:00 committed by Git OBS Bridge
commit 1194a97819
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 20 13:58:33 UTC 2020 - Petr Cervinka <petr@cervinka.net>
- Fix build without python2
-------------------------------------------------------------------
Sat Apr 11 21:42:05 UTC 2020 - Arun Persaud <arun@gmx.de>

View File

@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-Flask-Admin
Version: 1.5.6
Release: 0
@ -37,8 +38,10 @@ BuildRequires: %{python_module peewee}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with python2}
BuildRequires: python2-enum34
BuildRequires: python2-ipaddr
%endif
Requires: python-Flask >= 0.7
Requires: python-WTForms
BuildArch: noarch