forked from pool/python-testtools
- Require python-unittest2 only for python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=46
This commit is contained in:
committed by
Git OBS Bridge
parent
f52d9c8f4d
commit
eb2758e6de
@@ -25,8 +25,8 @@ License: MIT
|
||||
Group: Documentation/HTML
|
||||
Url: https://launchpad.net/testtools
|
||||
Source: https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module testtools = %{version}}
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with tests}
|
||||
# Test requirement
|
||||
BuildRequires: %{python_module testscenarios = %{version}}
|
||||
@@ -66,5 +66,4 @@ cp -r build/sphinx/html %{buildroot}%{_docdir}/python-testtools/
|
||||
%doc LICENSE
|
||||
%{_docdir}/python-testtools/
|
||||
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user