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
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: bzr
|
BuildRequires: bzr
|
||||||
|
%endif
|
||||||
|
|
||||||
# to get tests:
|
# to get tests:
|
||||||
# git clone https://github.com/pypa/pip && cd pip
|
# git clone https://github.com/pypa/pip && cd pip
|
||||||
|
Loading…
Reference in New Issue
Block a user