From 633d52244b67f1c09be5b269ab2a99a2b888e2bc1b1c734b72191bda6f52bb68 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 6 Dec 2012 12:52:36 +0000 Subject: [PATCH] - Add requirements on Python-2.6 compat modules Python-2.6 for SLES: + python-importlib and python-ordereddict OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=61 --- python-kombu.changes | 6 ++++++ python-kombu.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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