rpms/django-evolution/EL-6 .cvsignore, 1.2, 1.3 django-evolution.spec, 1.2, 1.3 sources, 1.2, 1.3
Stephen Gallagher
sgallagh at fedoraproject.org
Fri Jun 18 16:43:31 UTC 2010
Author: sgallagh
Update of /cvs/pkgs/rpms/django-evolution/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23306
Modified Files:
.cvsignore django-evolution.spec sources
Log Message:
* Fri Jun 4 2010 Stephen Gallagher <sgallagh at redhat.com> - 0.5-3
- Use python-sqlite2 for build tests on EPEL5
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/django-evolution/EL-6/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore 20 Mar 2009 06:30:18 -0000 1.2
+++ .cvsignore 18 Jun 2010 16:43:31 -0000 1.3
@@ -1 +1 @@
-django-evolution-r164.tar.gz
+django_evolution-0.5.tar.gz
Index: django-evolution.spec
===================================================================
RCS file: /cvs/pkgs/rpms/django-evolution/EL-6/django-evolution.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- django-evolution.spec 24 Jul 2009 20:20:47 -0000 1.2
+++ django-evolution.spec 18 Jun 2010 16:43:31 -0000 1.3
@@ -1,24 +1,33 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%define alphatag r164
-
Name: django-evolution
-Version: 0.0
-Release: 1%{?dist}.1.svn%{alphatag}
+Version: 0.5
+Release: 3%{?dist}
Summary: Schema evolution for Django
Group: Development/Languages
License: BSD
URL: http://code.google.com/p/django-evolution/
-# svn export -%{alphatag} http://django-evolution.googlecode.com/svn/trunk/ django-evolution-%{alphatag}
-# tar zcf django-evolution-%{alphatag}.tar.gz django-evolution-%{alphatag}
-Source0: %{name}-%{alphatag}.tar.gz
+Source0: http://pypi.python.org/packages/source/d/django_evolution/django_evolution-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
+BuildRequires: python-setuptools
+BuildRequires: python-nose
+BuildRequires: python-coverage
+BuildRequires: pyflakes
+%if 0%{?rhel} <= 5
+BuildRequires: python-sqlite2
+%else
+BuildRequires: python-sqlite
+%endif
+BuildRequires: Django
Requires: Django
+# Patches
+Patch0001: FED01-Disable-ez_setup-when-installing-by-RPM.patch
+
%description
When you run ./manage.py syncdb, Django will look for any new models that
have been defined, and add a database table to represent those new models.
@@ -30,24 +39,41 @@ Django that allows you to track changes
update the database to reflect those changes.
%prep
-%setup -q -n %{name}-%{alphatag}
+%setup -q -n django_evolution-%{version}
+%patch0001 -p1
%build
%{__python} setup.py build
+%check
+%{__python} tests/runtests.py
+%{__python} tests/run-pyflakes.py
+
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+#Make tests executable
+chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/tests/runtests.py
+chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/tests/run-pyflakes.py
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README docs/
-%{python_sitelib}/*
+%{python_sitelib}/django_evolution/*
+%{python_sitelib}/django_evolution-%{version}*.egg-info
+%{python_sitelib}/tests/*
%changelog
+* Fri Jun 4 2010 Stephen Gallagher <sgallagh at redhat.com> - 0.5-3
+- Use python-sqlite2 for build tests on EPEL5
+
+* Thu Jun 3 2010 Stephen Gallagher <sgallagh at redhat.com> - 0.5-2
+- Stable upstream release 0.5.0
+
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0-1.1.svnr164
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/django-evolution/EL-6/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources 20 Mar 2009 06:30:19 -0000 1.2
+++ sources 18 Jun 2010 16:43:31 -0000 1.3
@@ -1 +1 @@
-394703c4bf2a13a6f545cb71efe5097e django-evolution-r164.tar.gz
+603cd8dc3ac13963c1b3d5b18e7e3615 django_evolution-0.5.tar.gz
More information about the scm-commits
mailing list