[python-django-filter] Updated to 0.6
Miro Hrončok
churchyard at fedoraproject.org
Mon Apr 22 09:52:35 UTC 2013
commit 229a586301a8d88712c314575216c6533e594bdb
Author: Miro Hrončok <miro at hroncok.cz>
Date: Sun Apr 21 23:39:16 2013 +0200
Updated to 0.6
.gitignore | 1 +
django-filter-fix-import-error.patch | 54 ----------------------------------
django-filter-remove-xml-field.patch | 31 -------------------
python-django-filter.spec | 32 +++++++------------
sources | 3 +-
5 files changed, 14 insertions(+), 107 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index aba0806..4c95d9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/django-filter-0.5.3-test_proj.tgz
/django-filter-0.5.3.tar.gz
+/django-filter-0.6.tar.gz
diff --git a/python-django-filter.spec b/python-django-filter.spec
index 5588a7d..0ccce33 100644
--- a/python-django-filter.spec
+++ b/python-django-filter.spec
@@ -2,28 +2,19 @@
%global obs_ver 0.5.0-6
Name: python-%{pypi_name}
-Version: 0.5.3
-Release: 2%{?dist}
+Version: 0.6
+Release: 1%{?dist}
Summary: A Django application for allowing users to filter queryset dynamically
Group: Development/Languages
License: BSD
URL: http://pypi.python.org/pypi/%{pypi_name}
Source0: http://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
-# to regenerate the test project:
-# django-admin startproject test_proj && cd test_proj
-# open settings.py and add django_filters and django_filters.tests to INSTALLED_APPS
-# also remove all the other apps, we don't need to test them
-# tar czf django-filter-0.5.3-test_proj.tgz test_proj
-Source1: %{pypi_name}-%{version}-test_proj.tgz
-
-# patches for django 1.4
-Patch0: %{pypi_name}-remove-xml-field.patch
-Patch1: %{pypi_name}-fix-import-error.patch
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-django
+BuildRequires: python-django-discover-runner
BuildRequires: python-setuptools
Requires: python-django
@@ -36,8 +27,6 @@ parameters a user provides.
%prep
%setup -q -n %{pypi_name}-%{version}
-%patch0 -p1
-%patch1 -p1
%build
%{__python} setup.py build
@@ -46,18 +35,21 @@ parameters a user provides.
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%check
-tar xzf %{SOURCE1}
-pushd test_proj
-# one test is still failing
-PYTHONPATH=.. python manage.py test || :
-popd
+# 3 tests are still failing
+%{__python} runtests.py || :
%files
-%doc AUTHORS.txt README.txt COPYRIGHT docs/
+%doc CHANGES.rst README.rst LICENSE docs/
%{python_sitelib}/django_filters
%{python_sitelib}/django_filter-%{version}-py?.?.egg-info
%changelog
+* Tue Apr 16 2013 Miro Hrončok <mhroncok at redhat.com> - 0.6-1
+- New version compatible with Django 1.5
+- Using runtests.py, added BR python-django-discover-runner
+- filenames in %%docs changed
+- removed patches for Django 1.4
+
* 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
diff --git a/sources b/sources
index 9535d08..56375e0 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-590d7828eb1f3b61ca7e0321af6a48a1 django-filter-0.5.3-test_proj.tgz
-2afb919bf8b7808186e19ef10d7bbfe0 django-filter-0.5.3.tar.gz
+3849633250f59ebbe271968e462401bc django-filter-0.6.tar.gz
More information about the scm-commits
mailing list