[python-celery] update to 3.1.9 (rhbz#1055304)

Matthias Runge mrunge at fedoraproject.org
Wed Feb 26 12:48:24 UTC 2014


commit 9face163e3344fcf77bca4af6ec4ee7ffadeffc9
Author: Matthias Runge <mrunge at redhat.com>
Date:   Wed Feb 26 13:48:32 2014 +0100

    update to 3.1.9 (rhbz#1055304)
    
    and make tests conditional

 .gitignore         |    1 +
 python-celery.spec |   64 +++++++++++++++++++++++++++++++--------------------
 sources            |    2 +-
 3 files changed, 41 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f469db4..0f88dab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
 /celery-3.0.24.tar.gz
 /celery-3.1.4.tar.gz
 /celery-3.1.7.tar.gz
+/celery-3.1.9.tar.gz
diff --git a/python-celery.spec b/python-celery.spec
index f97e1ff..77c1739 100644
--- a/python-celery.spec
+++ b/python-celery.spec
@@ -4,9 +4,11 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
 %endif
 
+%global with_tests 0
+
 Name:           python-celery
-Version:        3.1.7
-Release:        4%{?dist}
+Version:        3.1.9
+Release:        1%{?dist}
 Summary:        Distributed Task Queue
 
 Group:          Development/Languages
@@ -31,27 +33,32 @@ Requires:       python-importlib
 Requires:       python-uuid
 %endif
 # for tests
-#BuildRequires:  python-kombu >= 3.0.5
-#BuildRequires:  python-unittest2
-#BuildRequires:  python-nose
-#BuildRequires:  python-nose-cover3
-#BuildRequires:  python-mock
-#BuildRequires:  python-billiard >= 3.3.0.7
-#BuildRequires:  python-amqp
-#BuildRequires:  python-coverage
+%if 0%{?with_tests}
+BuildRequires:  python-kombu >= 3.0.8
+BuildRequires:  python-unittest2
+BuildRequires:  python-nose
+BuildRequires:  python-nose-cover3
+BuildRequires:  python-mock
+BuildRequires:  python-billiard >= 3.3.0.7
+BuildRequires:  python-amqp
+BuildRequires:  python-coverage
+BuildRequires:  pytz
+%endif
 
 %if 0%{?with_python3}
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
-#BuildRequires:  python3-billiard >= 3.3.0.7
-#BuildRequires:  python3-dateutil
-#BuildRequires:  python3-pytz
-#BuildRequires:  python3-kombu
+%if 0%{?with_tests}
+BuildRequires:  python3-billiard >= 3.3.0.7
+BuildRequires:  python3-dateutil
+BuildRequires:  python3-pytz
+BuildRequires:  python3-kombu
 
 # tests:
-#BuildRequires: python3-nose
-#BuildRequires: python3-nose-cover3
-#BuildRequires: python3-mock
+BuildRequires: python3-nose
+BuildRequires: python3-nose-cover3
+BuildRequires: python3-mock
+%endif
 %endif # if with_python3
 
 
@@ -114,6 +121,9 @@ for Redis, Beanstalk, MongoDB, CouchDB and databases
 %prep
 %setup -q -n celery-%{version}
 
+# dependencies are handled by rpm
+echo "" > requirements/default.txt
+
 %if 0%{?with_python3}
 cp -a . %{py3dir}
 %endif
@@ -141,15 +151,16 @@ popd
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
 # checks are currently failing
-#%check
-#%{__python} setup.py test
-#
-#%if 0%{?with_python3}
-#pushd %{py3dir}
-#%{__python3} setup.py test
-#popd
-#%endif # with_python3
+%if 0%{?with_tests}
+%check
+%{__python} setup.py test
 
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py test
+popd
+%endif # with_python3
+%endif
 
 
 %files
@@ -172,6 +183,9 @@ popd
 
 
 %changelog
+* Wed Feb 26 2014 Matthias Runge <mrunge at redhat.com> - 3.1.9-1
+- update to 3.1.9 (rhbz#1055304)
+
 * Wed Feb 26 2014 Matthias Runge <mrunge at redhat.com> - 3.1.7-4
 - add runtime requirement pyzu (rhbz#1069774)
 - remove runtime req. python-dateutil
diff --git a/sources b/sources
index 7d6b42e..35a5652 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-63a452d4338372d0a22de1961130907e  celery-3.1.7.tar.gz
+5742a95c0bb07cc5159216aae3b025fb  celery-3.1.9.tar.gz


More information about the scm-commits mailing list