[python-tw2-forms] Fix jinja for el6.

Ralph Bean ☃ ralph at fedoraproject.org
Thu Feb 28 20:27:57 UTC 2013


commit 040c4b6f2601cc9015be79d22ba1fd04ecb29c2c
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Feb 28 15:27:49 2013 -0500

    Fix jinja for el6.

 python-tw2-forms.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-tw2-forms.spec b/python-tw2-forms.spec
index 294342a..c4304e0 100644
--- a/python-tw2-forms.spec
+++ b/python-tw2-forms.spec
@@ -4,7 +4,7 @@
 
 Name:           python-tw2-forms
 Version:        2.1.4.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Forms for ToscaWidgets2
 
 Group:          Development/Languages
@@ -58,6 +58,8 @@ tw2.forms contains the basic form widgets.
 awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.0\"]; import pkg_resources"}1' setup.py > setup.py.tmp
 mv setup.py.tmp setup.py
 
+sed -i 's|Jinja2|jinja2|g' setup.py
+
 # Remove all the fancy nosetests configuration for older python
 rm setup.cfg
 
@@ -80,6 +82,9 @@ PYTHONPATH=$(pwd) python setup.py test
 
 
 %changelog
+* Thu Feb 28 2013 Ralph Bean <rbean at redhat.com> - 2.1.4.1-3
+- Rename Jinja2 to jinja2 for el6.
+
 * Wed Feb 27 2013 Ralph Bean <rbean at redhat.com> - 2.1.4.1-2
 - Renamed README from .txt to .rst.
 


More information about the scm-commits mailing list