[packages/python-flask-cache] BR test deps
glen
glen at pld-linux.org
Fri Dec 5 16:37:57 CET 2014
commit b7051f36db8dbe84355e9eddc2ac5318cf5c86c3
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Dec 5 17:37:53 2014 +0200
BR test deps
python-flask-cache.spec | 9 ++++++---
1 file 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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-flask-cache.git/commitdiff/b7051f36db8dbe84355e9eddc2ac5318cf5c86c3
More information about the pld-cvs-commit
mailing list