diff --git a/python-kombu.changes b/python-kombu.changes index 21edc65..75c87eb 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Dec 1 21:56:00 UTC 2012 - toddrme2178@gmail.com + +- Only require python-importlib for SLE. It is not needed for any + distro running python >= 2.7, and is not being built for those + distros. + ------------------------------------------------------------------- Thu Nov 29 10:07:56 UTC 2012 - iartarisi@suse.cz diff --git a/python-kombu.spec b/python-kombu.spec index 6a6c379..6934862 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -23,9 +23,9 @@ Summary: AMQP Messaging Framework for Python Url: http://github.com/ask/kombu/ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz +BuildRequires: python-devel BuildRequires: python-amqplib BuildRequires: python-anyjson -BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-mock BuildRequires: python-msgpack-python @@ -35,13 +35,13 @@ BuildRequires: python-unittest2 BuildRequires: python-PyYAML Requires: python-amqplib Requires: python-anyjson -Requires: python-importlib 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