diff --git a/python-celery.changes b/python-celery.changes index dd97173..625c4d3 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 24 13:33:50 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + ------------------------------------------------------------------- Mon Jul 10 12:08:37 UTC 2017 - jengelh@inai.de @@ -1688,3 +1693,4 @@ Tue Nov 17 17:21:26 UTC 2009 - alexandre@exatati.com.br Tue Sep 22 15:07:28 UTC 2009 - alexandre@exatati.com.br - Initial package (0.8) for openSUSE. + diff --git a/python-celery.spec b/python-celery.spec index 0b758e7..b0df0f5 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -16,33 +16,34 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-celery Version: 4.0.2 Release: 0 -Url: http://celeryproject.org Summary: Distributed Task Queue module for Python License: BSD-3-Clause Group: Development/Languages/Python +Url: http://celeryproject.org Source: https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module SQLAlchemy} +BuildRequires: %{python_module billiard >= 3.5.0.2} +BuildRequires: %{python_module case >= 1.3.1} +BuildRequires: %{python_module cl} +BuildRequires: %{python_module curses} +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module eventlet} +BuildRequires: %{python_module gevent} +BuildRequires: %{python_module kombu >= 4.0.2} +BuildRequires: %{python_module pyOpenSSL} +BuildRequires: %{python_module pytest >= 3.0} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: netcfg -BuildRequires: python-SQLAlchemy -BuildRequires: python-billiard >= 3.5.0.2 -BuildRequires: python-case >= 1.3.1 -BuildRequires: python-cl -BuildRequires: python-curses -BuildRequires: python-dateutil -BuildRequires: python-devel -BuildRequires: python-eventlet -BuildRequires: python-gevent -BuildRequires: python-kombu >= 4.0.2 -BuildRequires: python-pyOpenSSL -BuildRequires: python-pytest >= 3.0 -BuildRequires: python-pytz -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros Requires: python-billiard >= 3.5.0.2 -Requires: python-dateutil +Requires: python-python-dateutil Recommends: python-curses Recommends: python-pyOpenSSL Suggests: python-eventlet @@ -50,7 +51,9 @@ Suggests: python-gevent Suggests: python-pymongo Suggests: python-python-daemon Suggests: python-pytyrant +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%python_subpackages %description Celery is an asynchronous task queue/job queue based on distributed @@ -61,19 +64,19 @@ scheduling as well. %setup -q -n celery-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install %fdupes %{buildroot}/%{_prefix} %check python setup.py -q test -%files +%files %{python_files} %defattr(-,root,root,-) %{python_sitelib}/* %doc Changelog README.rst TODO LICENSE -%{_bindir}/celery* +%python3_only %{_bindir}/celery* %changelog