diff --git a/.cvsignore b/.cvsignore index 5bd9e4f..9f84cb9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Tempita-0.3.tar.gz +Tempita-0.4.tar.gz diff --git a/python-tempita-0.3-fix-tests.patch b/python-tempita-0.3-fix-tests.patch deleted file mode 100644 index e25e5b4..0000000 --- a/python-tempita-0.3-fix-tests.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Tempita-0.3/tests/test_template.txt.old 2008-12-06 12:06:52.000000000 -0500 -+++ Tempita-0.3/tests/test_template.txt 2008-12-06 12:06:59.000000000 -0500 -@@ -92,7 +92,7 @@ - There's a handyish looper thing you can also use in your templates (or - in Python, but it's more useful in templates generally):: - -- >>> from tempita.looper import looper -+ >>> from tempita import looper - >>> seq = ['apple', 'asparagus', 'Banana', 'orange'] - >>> for loop, item in looper(seq): - ... if item == 'apple': diff --git a/python-tempita.spec b/python-tempita.spec index 905c51e..48f71ff 100644 --- a/python-tempita.spec +++ b/python-tempita.spec @@ -1,16 +1,15 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-tempita -Version: 0.3 -Release: 3%{?dist} +Version: 0.4 +Release: 1%{?dist} Summary: A very small text templating language Group: Development/Languages License: MIT URL: http://pythonpaste.org/tempita/ -Source0: http://pypi.python.org/packages/source/T/Tempita/Tempita-0.3.tar.gz +Source0: http://pypi.python.org/packages/source/T/Tempita/Tempita-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -Patch0: %{name}-%{version}-fix-tests.patch BuildArch: noarch BuildRequires: python-setuptools-devel @@ -21,7 +20,6 @@ Tempita is a small templating language for text substitution. %prep %setup -q -n Tempita-%{version} -%patch0 -p1 %build @@ -38,7 +36,7 @@ Tempita is a small templating language for text substitution. %check -./test +nosetests %files @@ -49,6 +47,9 @@ Tempita is a small templating language for text substitution. %changelog +* Mon Apr 20 2009 Ricky Zhou - 0.4-1 +- Upstream released a new version. + * Tue Apr 14 2009 Ricky Zhou - 0.3-3 - Change define to global. - Remove old >= 8 conditional. diff --git a/sources b/sources index 70b7704..70745c0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -81cbb5f38cf22f2b5c7e367986645561 Tempita-0.3.tar.gz +0abe015a72e748d0c6284679a497426c Tempita-0.4.tar.gz