Specify test dependencies in an if block

This commit is contained in:
Tomas Orsava 2017-08-29 16:12:19 +02:00
parent 222c069cc5
commit d7cbed0aa4

View File

@ -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