15
0
forked from pool/python-celery

- Do not touch files without a submitrequest.

- License tag fixed to BSD-3-Clause.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=53
This commit is contained in:
Alexandre Rogoski
2012-04-13 17:24:03 +00:00
committed by Git OBS Bridge
parent a56f03c1da
commit 098573efa1
4 changed files with 20 additions and 16 deletions

View File

@@ -16,14 +16,18 @@
#
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-celery
Version: 2.5.1
Version: 2.5.2
Release: 0
Url: http://celeryproject.org
Summary: Distributed Task Queue
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://celeryproject.org
Source: http://pypi.python.org/packages/source/c/celery/celery-%{version}.tar.gz
Source: celery-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-SQLAlchemy
BuildRequires: python-cl
BuildRequires: python-curses
@@ -51,13 +55,14 @@ Recommends: python-pyOpenSSL
Suggests: python-eventlet
Suggests: python-gevent
Suggests: python-pymongo
Suggests: python-python-daemon
Suggests: python-pytyrant
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()")}
%else
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%endif
%description
Celery is an open source asynchronous task queue/job queue based on
@@ -79,9 +84,9 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%doc Changelog README TODO
%{_bindir}/camqadm
%{_bindir}/celery*
%{python_sitelib}/*
%changelog