- 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
This commit is contained in:
Sascha Peilicke 2012-12-06 12:52:36 +00:00 committed by Git OBS Bridge
parent 0b033a1673
commit 633d52244b
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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