diff --git a/python-tempita.spec b/python-tempita.spec index e77ace3..45ca31f 100644 --- a/python-tempita.spec +++ b/python-tempita.spec @@ -5,15 +5,14 @@ %endif Name: python-tempita -Version: 0.4 -Release: 8%{?dist} +Version: 0.5.1 +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-%{version}.tar.gz -Patch0: tempita-py3-compat.diff BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch @@ -54,7 +53,6 @@ Tempita is a small templating language for text substitution. %prep %setup -q -n Tempita-%{version} -%patch0 -p1 -b .py3compat %if 0%{?with_python3} rm -rf %{py3dir} @@ -91,7 +89,6 @@ nosetests %files %defattr(-,root,root,-) -%doc docs/* %{python_sitelib}/tempita/ %{python_sitelib}/*.egg-info @@ -103,6 +100,9 @@ nosetests %endif %changelog +* Sun Jun 24 2012 Ricky Zhou - 0.5.1-1 +- Update to 0.5.1. + * Sat Jan 14 2012 Fedora Release Engineering - 0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/tempita-py3-compat.diff b/tempita-py3-compat.diff deleted file mode 100644 index 806300b..0000000 --- a/tempita-py3-compat.diff +++ /dev/null @@ -1,24 +0,0 @@ -diff -r 21248eaca98c -r cfd954445f47 setup.py ---- a/setup.py Tue Oct 27 23:52:47 2009 +0000 -+++ b/setup.py Tue Aug 03 12:44:18 2010 -0700 -@@ -1,8 +1,12 @@ --from setuptools import setup, find_packages --import sys, os -+from setuptools import setup -+import sys - - version = '0.4' - -+extra = {} -+if sys.version_info >= (3,): -+ extra['use_2to3'] = True -+ - setup(name='Tempita', - version=version, - description="A very small text templating language", -@@ -39,4 +43,5 @@ - test_suite='nose.collector', - include_package_data=True, - zip_safe=True, -+ **extra - )