summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2014-12-05 15:37:53 (GMT)
committerElan Ruusamäe2014-12-05 15:37:53 (GMT)
commitb7051f36db8dbe84355e9eddc2ac5318cf5c86c3 (patch)
treebad92fafecbe43afd7301b4dc4492a675c4e8fb2
parent524b49ee7c0966dc560e641461951032751463d8 (diff)
downloadpython-flask-cache-b7051f36db8dbe84355e9eddc2ac5318cf5c86c3.zip
python-flask-cache-b7051f36db8dbe84355e9eddc2ac5318cf5c86c3.tar.gz
BR test deps
-rw-r--r--python-flask-cache.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/python-flask-cache.spec b/python-flask-cache.spec
index 75c6e18..b5a9ecb 100644
--- a/python-flask-cache.spec
+++ b/python-flask-cache.spec
@@ -17,17 +17,20 @@ Source0: https://pypi.python.org/packages/source/F/Flask-Cache/Flask-Cache-%{ver
# Source0-md5: ab82a9cd0844891ccdb54fbb93fd6c59
URL: http://github.com/thadeusb/flask-cache
BuildRequires: rpm-pythonprov
-# if py_postclean is used
BuildRequires: rpmbuild(macros) >= 1.219
BuildRequires: sphinx-pdg
-# when using /usr/bin/env or other in-place substitutions
-#BuildRequires: sed >= 4.0
%if %{with python2}
BuildRequires: python-distribute
+%if %{with tests}
+BuildRequires: python-flask
+%endif
%endif
%if %{with python3}
BuildRequires: python3-distribute
BuildRequires: python3-modules
+%if %{with tests}
+BuildRequires: python3-flask
+%endif
%endif
Requires: python-modules
BuildArch: noarch