From 74109824b9bb4ae95b9db9a6a10d29ab7ea5b89b Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 8 Feb 2016 16:55:32 +0100 Subject: [PATCH] Suggests and Enhances are only supported in Fedora --- python-hypothesis.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 7cfb0ea..17a50f6 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -42,6 +42,7 @@ flow. Summary: %{sum} %{?python_provide:%python_provide python2-%{srcname}} Obsoletes: python-%{srcname} < 1.11.1-1 +%if 0%{?with_python3} # needed only by hypothesis-extras Suggests: numpy # fake-factory not packaged yet @@ -50,6 +51,7 @@ Suggests: pytz # Django support requires fake-factory # TODO - update to python2-django once available # Enhances: python-django +%endif %description -n python2-%{srcname} Hypothesis is a library for testing your Python code against a much