Accepting request 336546 from home:Nijel:branches:devel:languages:python

- Add uniittest2 to BuildRequires for Python 2.6

OBS-URL: https://build.opensuse.org/request/show/336546
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=35
This commit is contained in:
Michal Čihař
2015-10-05 13:47:31 +00:00
committed by Git OBS Bridge
parent d9fd47d8b2
commit b438d3443b
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 5 13:43:48 UTC 2015 - mcihar@suse.cz
- Add uniittest2 to BuildRequires for Python 2.6
-------------------------------------------------------------------
Sun Oct 4 09:50:25 UTC 2015 - tbechtold@suse.com

View File

@@ -34,6 +34,9 @@ BuildRequires: python-Sphinx
# Test requirements:
BuildRequires: python-mock
BuildRequires: python-nose
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-unittest2
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}