From d7cbed0aa453f656e79ec8d03fdd044a65964d1b Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 29 Aug 2017 16:12:19 +0200 Subject: [PATCH] Specify test dependencies in an if block --- python-pip.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-pip.spec b/python-pip.spec index 44e4dee..86f0c48 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -32,8 +32,10 @@ Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{sr BuildArch: noarch +%if %{with tests} BuildRequires: git BuildRequires: bzr +%endif # to get tests: # git clone https://github.com/pypa/pip && cd pip