From 548315a1cbe80f8c8f7e5ac2df8d3df3564ba35fe9920958e6a6ddb483df8692 Mon Sep 17 00:00:00 2001 From: Todd R Date: Sat, 1 Dec 2012 22:00:34 +0000 Subject: [PATCH] Accepting request 143779 from home:TheBlackCat:branches:devel:languages:python - 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. OBS-URL: https://build.opensuse.org/request/show/143779 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=59 --- python-kombu.changes | 7 +++++++ python-kombu.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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