SHA256
1
0
forked from pool/python-kombu

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
This commit is contained in:
Todd R 2012-12-01 22:00:34 +00:00 committed by Git OBS Bridge
parent c6664d79dc
commit 548315a1cb
2 changed files with 9 additions and 2 deletions

View File

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

View File

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