forked from pool/python-testtools
Accepting request 813210 from home:pgajdos:python
- remove unittest2 runtime dependency OBS-URL: https://build.opensuse.org/request/show/813210 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=67
This commit is contained in:
committed by
Git OBS Bridge
parent
06e5fc1ea0
commit
638489843b
@@ -35,7 +35,6 @@ Requires: python-pbr >= 0.11
|
||||
Requires: python-python-mimeparse
|
||||
Requires: python-six >= 1.4.0
|
||||
Requires: python-traceback2
|
||||
Requires: python-unittest2 >= 1.1.0
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
||||
Recommends: python-fixtures >= 1.3.0
|
||||
@@ -50,6 +49,7 @@ also ports recent unittest changes all the way back to Python 2.4.
|
||||
|
||||
%prep
|
||||
%setup -q -n testtools-%{version}
|
||||
sed -i '/unittest2/d' requirements.txt setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user