Specify test dependencies in an if block
This commit is contained in:
parent
222c069cc5
commit
d7cbed0aa4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user