Ralph Bean  committed 0f00301

Sneaking in an epel fix in the spec file.

  • Participants
  • Parent commits 01c40a0
  • Branches default

Comments (0)

Files changed (1)

File python-tw2-jqplugins-flot.spec

 %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' >
+# Remove all the fancy nosetests configuration for older python
+rm setup.cfg
 %{__python} build
 # This is a hack to get the jqplugins to not stomp all over each others