From b438d3443be3d4e7bdfeb89fd698cdcf06467068cfb99c9a3bbdd4b206710c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 5 Oct 2015 13:47:31 +0000 Subject: [PATCH] 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 --- python-amqp.changes | 5 +++++ python-amqp.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-amqp.changes b/python-amqp.changes index 4cdf68c..aefca0a 100644 --- a/python-amqp.changes +++ b/python-amqp.changes @@ -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 diff --git a/python-amqp.spec b/python-amqp.spec index e8a66a0..800e235 100644 --- a/python-amqp.spec +++ b/python-amqp.spec @@ -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()")}