[python-django-filter] Require python-mock >= 1

Miro Hrončok churchyard at fedoraproject.org
Mon Apr 22 09:52:40 UTC 2013


commit 0b27d68ac03e22db0be0427d612dfc675dcb7ec9
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Mon Apr 22 00:02:14 2013 +0200

    Require python-mock >= 1

 python-django-filter.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python-django-filter.spec b/python-django-filter.spec
index 0ccce33..555d914 100644
--- a/python-django-filter.spec
+++ b/python-django-filter.spec
@@ -15,6 +15,7 @@ BuildArch:      noarch
 BuildRequires:  python2-devel
 BuildRequires:  python-django
 BuildRequires:  python-django-discover-runner
+BuildRequires:  python-mock >= 1
 BuildRequires:  python-setuptools
 Requires:       python-django
 
@@ -35,8 +36,7 @@ parameters a user provides.
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 %check
-# 3 tests are still failing
-%{__python} runtests.py || :
+%{__python} runtests.py
 
 %files
 %doc CHANGES.rst README.rst LICENSE docs/
@@ -49,6 +49,7 @@ parameters a user provides.
 - Using runtests.py, added BR python-django-discover-runner
 - filenames in %%docs changed
 - removed patches for Django 1.4
+- added BR python-django-discover-runner and python-mock >=1 (3 tests are failing with older mock)
 
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild


More information about the scm-commits mailing list