diff --git a/python-kombu.changes b/python-kombu.changes index 57f7292..d875efe 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 6 12:50:10 UTC 2012 - saschpe@suse.de + +- Add requirements on Python-2.6 compat modules Python-2.6 for SLES: + + python-importlib and python-ordereddict + ------------------------------------------------------------------- Wed Dec 5 04:48:02 UTC 2012 - alexandre@exatati.com.br diff --git a/python-kombu.spec b/python-kombu.spec index 011fbb6..9fdfac0 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -35,14 +35,16 @@ BuildRequires: python-unittest2 BuildRequires: python-PyYAML Requires: python-amqp Requires: python-anyjson +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +Requires: python-importlib +Requires: python-ordereddict +%endiff Suggests: couchdb Suggests: mongodb Suggests: rabbitmq-server 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()")} -BuildRequires: python-importlib -%py_requires %else BuildArch: noarch %endif