[python-tw2-forms/epel7] extra rhel6 ism removal

Dennis Gilmore ausil at fedoraproject.org
Fri Jan 10 06:29:41 UTC 2014


commit ac65e1c2a54b598da4ac958a7915619d824841c9
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Fri Jan 10 00:29:09 2014 -0600

    extra rhel6 ism removal

 python-tw2-forms.spec |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/python-tw2-forms.spec b/python-tw2-forms.spec
index 0177b04..477cee5 100644
--- a/python-tw2-forms.spec
+++ b/python-tw2-forms.spec
@@ -48,19 +48,6 @@ tw2.forms contains the basic form widgets.
 %prep
 %setup -q -n %{modname}-%{version}
 
-%if %{?rhel}%{!?rhel:0} >= 6
-
-# Make sure that epel/rhel picks up the correct version of webob
-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
-
-%endif
-
 %build
 %{__python} setup.py build
 


More information about the scm-commits mailing list